1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 17:49:45 +02:00

Fix the unwanted hand cursor near bottom edge when scrub bar is on

This commit is contained in:
Paul Licameli 2016-05-05 13:21:44 -04:00
parent 7fbae2a1aa
commit 4b2cc463be

View File

@ -2229,7 +2229,9 @@ void AdornedRulerPanel::OnMouseEvents(wxMouseEvent &evt)
? button
: inScrubZone
? StatusChoice::EnteringScrubZone
: StatusChoice::EnteringQP;
: mInner.Contains(evt.GetPosition())
? StatusChoice::EnteringQP
: StatusChoice::NoChange;
const bool changeInZone = (zone != mPrevZone);
const bool changing = evt.Leaving() || evt.Entering() || changeInZone;