Mercurial > hg > svgui
diff view/View.cpp @ 671:0aea4b9e4c3d
Update a bit more around the pointer -- avoids trails in hidpi
author | Chris Cannam |
---|---|
date | Fri, 19 Jul 2013 15:45:32 +0100 |
parents | c3593bb2de6b |
children | 1a0dfcbffaf1 |
line wrap: on
line diff
--- a/view/View.cpp Tue Jul 16 17:52:16 2013 +0100 +++ b/view/View.cpp Fri Jul 19 15:45:32 2013 +0100 @@ -995,7 +995,7 @@ case PlaybackScrollPage: { int xold = getXForFrame(oldPlayPointerFrame); - update(xold - 1, 0, 3, height()); + update(xold - 4, 0, 9, height()); long w = getEndFrame() - getStartFrame(); w -= w/5; @@ -1034,12 +1034,12 @@ bool changed = setCentreFrame(newCentre, false); if (changed) { xold = getXForFrame(oldPlayPointerFrame); - update(xold - 1, 0, 3, height()); + update(xold - 4, 0, 9, height()); } } } - update(xnew - 1, 0, 3, height()); + update(xnew - 4, 0, 9, height()); break; }