]> git.sesse.net Git - nageru/commit
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)
commitadaf88f2a3544bfd62bcdafa9b11d190f6658010
treea0f1124eae065a30f2948402c92775524ebcd80d
parente65bea1cd01cba642bbff2a7f79977196b2a2b42
Make NonlinearFader work with fixed 0..1000 range, not 0..height().

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.
nonlinear_fader.cpp
nonlinear_fader.h
ui_audio_expanded_view.ui
ui_audio_miniview.ui