1
0
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:
mchinen 2010-11-28 01:38:56 +00:00
parent 1261f6ef62
commit 599fdd9d97

View File

@ -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)