Fix stuck faders on very fine adjustments.
authorDavid Robillard <d@drobilla.net>
Fri, 5 Dec 2014 20:16:54 +0000 (15:16 -0500)
committerDavid Robillard <d@drobilla.net>
Fri, 5 Dec 2014 20:19:43 +0000 (15:19 -0500)
commit587dc283ead31efeb5e0c00eea640d862773186a
treead55ca333fdd89b2a8b8eb11a4be68c82474b2ce
parentfb406e5b36bfd7f5dcf8650be911c9202ae3c323
Fix stuck faders on very fine adjustments.

I attempted to preserve the "don't draw unless different" by ditching rounding for more
precise display_span, but that didn't work.  An alternative solution would be
to draw on adjustment change if there's text, since then we need to redraw
regardless of slider position, but it seemed weird even just with respect to
the slider, so I opted for this, which really definitely redraws when the
adjustment changes, period.

If this proves to be a performance issue we'll have to figure that out.
libs/gtkmm2ext/gtkmm2ext/pixfader.h
libs/gtkmm2ext/pixfader.cc