mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-26 09:28:07 +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();
|
FormatPopWin();
|
||||||
SetPopWinPosition();
|
SetPopWinPosition();
|
||||||
LWSlider::sharedTipPanel->Show();
|
LWSlider::sharedTipPanel->Show();
|
||||||
|
//hide mouseover tooltip
|
||||||
|
wxToolTip::Enable(false);
|
||||||
}
|
}
|
||||||
else if( event.ButtonUp() )
|
else if( event.ButtonUp() )
|
||||||
{
|
{
|
||||||
@ -1039,6 +1041,8 @@ void LWSlider::OnMouseEvent(wxMouseEvent & event)
|
|||||||
if (mParent->HasCapture())
|
if (mParent->HasCapture())
|
||||||
mParent->ReleaseMouse();
|
mParent->ReleaseMouse();
|
||||||
LWSlider::sharedTipPanel->Hide();
|
LWSlider::sharedTipPanel->Hide();
|
||||||
|
//restore normal tooltip behavor for mouseovers
|
||||||
|
wxToolTip::Enable(true);
|
||||||
// wxSetCursor(wxNullCursor);
|
// wxSetCursor(wxNullCursor);
|
||||||
}
|
}
|
||||||
else if (event.Dragging() && mIsDragging)
|
else if (event.Dragging() && mIsDragging)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user