forked from mia/Aegisub
Bind wxEVT_LEAVE_WINDOW in AudioDisplay so the track cursor actually gets removed when the mouse leaves the display
Originally committed to SVN as r6336.
This commit is contained in:
parent
c0b599fbae
commit
7da57b38dc
1 changed files with 1 additions and 0 deletions
|
@ -596,6 +596,7 @@ AudioDisplay::AudioDisplay(wxWindow *parent, AudioController *controller, agi::C
|
|||
Bind(wxEVT_RIGHT_UP, &AudioDisplay::OnMouseEvent, this);
|
||||
Bind(wxEVT_MOTION, &AudioDisplay::OnMouseEvent, this);
|
||||
Bind(wxEVT_ENTER_WINDOW, &AudioDisplay::OnMouseEvent, this);
|
||||
Bind(wxEVT_LEAVE_WINDOW, &AudioDisplay::OnMouseEvent, this);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue