Skip to content
  • Daniel Boles's avatar
    Range: Fix inverted horizontal scroll wheel events · 91064360
    Daniel Boles authored
    Bug 737175 aimed to ensure that scrolling up on a horizontal range would
    result in its value increasing, as that’s what users intuitively expect.
    However, its commit 416c370d meant that,
    if the event gives scroll deltas, we inverted our delta unconditionally.
    
    So it broke horizontal scrolling: scrolling left moved the slider right…
    
    We must only invert if using dy as delta. dx already has the right sign,
    so inverting it was wrong.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=788905
    91064360