mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-18 14:41:20 +01:00
Bug 1414 - (Residual) Green triangles in scrub bar sometimes appear and sometimes don't
The residual bug was that the PlayHead triangle could appear when in the scrub ruler. This was an 'off by 2' error in using the size of that region.
This commit is contained in:
@@ -2278,6 +2278,9 @@ void AdornedRulerPanel::UpdateRects()
|
||||
#else
|
||||
auto qpHeight = mScrubZone.height - scrubHeight;
|
||||
bottom = &mScrubZone, topHeight = qpHeight;
|
||||
// Increase scrub zone height so that hit testing finds it and
|
||||
// not QP region, when on bottom 'edge'.
|
||||
mScrubZone.height+=BottomMargin;
|
||||
#endif
|
||||
|
||||
top->height = topHeight;
|
||||
|
||||
Reference in New Issue
Block a user