mirror of https://github.com/odrling/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
|
@ -596,6 +596,7 @@ AudioDisplay::AudioDisplay(wxWindow *parent, AudioController *controller, agi::C
|
||||||
Bind(wxEVT_RIGHT_UP, &AudioDisplay::OnMouseEvent, this);
|
Bind(wxEVT_RIGHT_UP, &AudioDisplay::OnMouseEvent, this);
|
||||||
Bind(wxEVT_MOTION, &AudioDisplay::OnMouseEvent, this);
|
Bind(wxEVT_MOTION, &AudioDisplay::OnMouseEvent, this);
|
||||||
Bind(wxEVT_ENTER_WINDOW, &AudioDisplay::OnMouseEvent, this);
|
Bind(wxEVT_ENTER_WINDOW, &AudioDisplay::OnMouseEvent, this);
|
||||||
|
Bind(wxEVT_LEAVE_WINDOW, &AudioDisplay::OnMouseEvent, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue