Mercurial > hg > svgui
changeset 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 | d52751e2728b |
children | ee99f5c0050c |
files | view/View.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
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; }