Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent slide right on last and left on first #1405

Closed
wants to merge 1 commit into from
Closed

Prevent slide right on last and left on first #1405

wants to merge 1 commit into from

Commits on May 15, 2014

  1. Prevent slide right on last and left on first

    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
    evenemento committed May 15, 2014
    Configuration menu
    Copy the full SHA
    bc2e953 View commit details
    Browse the repository at this point in the history