mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
fixup stuck persistent tooltips.
This commit is contained in:
parent
c809e528c0
commit
d40ad1f6ff
2 changed files with 18 additions and 1 deletions
|
|
@ -63,11 +63,25 @@ PersistentTooltip::timeout ()
|
|||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
PersistentTooltip::explicit_show ()
|
||||
{
|
||||
_timeout.disconnect ();
|
||||
show ();
|
||||
}
|
||||
|
||||
void
|
||||
PersistentTooltip::explicit_hide ()
|
||||
{
|
||||
_timeout.disconnect ();
|
||||
hide ();
|
||||
}
|
||||
|
||||
bool
|
||||
PersistentTooltip::leave (GdkEventCrossing *)
|
||||
{
|
||||
_timeout.disconnect ();
|
||||
if (!dragging ()) {
|
||||
_timeout.disconnect ();
|
||||
hide ();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue