mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-04 14:39:08 +02:00
Ruler tooltips no longer appear outside of the ruler
This commit is contained in:
parent
cac54a3b57
commit
60e3791a22
@ -2173,7 +2173,9 @@ void AdornedRulerPanel::OnMouseEvents(wxMouseEvent &evt)
|
||||
mShowScrubbing &&
|
||||
mScrubZone.Contains(evt.GetPosition());
|
||||
const StatusChoice zone =
|
||||
overButtons
|
||||
evt.Leaving()
|
||||
? StatusChoice::Leaving
|
||||
: overButtons
|
||||
? button
|
||||
: inScrubZone
|
||||
? StatusChoice::EnteringScrubZone
|
||||
@ -2194,9 +2196,7 @@ void AdornedRulerPanel::OnMouseEvents(wxMouseEvent &evt)
|
||||
|
||||
// Handle status bar messages
|
||||
UpdateStatusBarAndTooltips (
|
||||
evt.Leaving()
|
||||
? StatusChoice::Leaving
|
||||
: evt.Entering() || changeInZone
|
||||
evt.Leaving() || evt.Entering() || changeInZone
|
||||
? zone
|
||||
: StatusChoice::NoChange
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user