mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-25 08:58:06 +02:00
hide mouseover tooltip when slider value tippanel appears
This commit is contained in:
parent
1261f6ef62
commit
599fdd9d97
@ -1032,6 +1032,8 @@ void LWSlider::OnMouseEvent(wxMouseEvent & event)
|
||||
FormatPopWin();
|
||||
SetPopWinPosition();
|
||||
LWSlider::sharedTipPanel->Show();
|
||||
//hide mouseover tooltip
|
||||
wxToolTip::Enable(false);
|
||||
}
|
||||
else if( event.ButtonUp() )
|
||||
{
|
||||
@ -1039,6 +1041,8 @@ void LWSlider::OnMouseEvent(wxMouseEvent & event)
|
||||
if (mParent->HasCapture())
|
||||
mParent->ReleaseMouse();
|
||||
LWSlider::sharedTipPanel->Hide();
|
||||
//restore normal tooltip behavor for mouseovers
|
||||
wxToolTip::Enable(true);
|
||||
// wxSetCursor(wxNullCursor);
|
||||
}
|
||||
else if (event.Dragging() && mIsDragging)
|
||||
|
Loading…
x
Reference in New Issue
Block a user