]> git.sesse.net Git - nageru/commitdiff
Make NonlinearFader work with fixed 0..1000 range, not 0..height().
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 6 Oct 2016 18:14:30 +0000 (20:14 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 19 Oct 2016 22:55:44 +0000 (00:55 +0200)
In particular, this fixes an issue where the range could be wrong
just after the widget is created, but the page it is not is not shown
yet (so there hasn't been a resize event yet).

Also makes for more consistent scroll wheel and arrow key behavior,
as it is not longer dependent on widget size.


No differences found