Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented May 15, 2014

When continuous was disabled, user could slide right on last or left on first and they received empty view.

Problem was of the order of operations which calculate isPastBounds.

a = true
b = true
c = false
d = false

earlier it was calculate:

a && b | c && d = true | false && false = true && false = false

after change

(a && b) | (c && d) = true | false = true

When continuous was disabled, user could slide right on last or left on first and they received empty view.

Problem was of the order of operations which calculate isPastBounds.

a = true
b = true
c = false
d = false

earlier it was calculate:

a && b | c && d = true | false && false = true & false = false

after change

(a && b) | (c && d) = true | false = true
@ajoslin
Copy link
Contributor

ajoslin commented May 15, 2014

My fault, I changed this to fix jshint errors.

I'll review this a little later today and see if we can merge it. Thanks @evenemento !

@ajoslin
Copy link
Contributor

ajoslin commented May 19, 2014

Fixed via ec5a276

@ajoslin ajoslin closed this May 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant