1
0
mirror of https://github.com/odrling/Aegisub synced 2025-04-11 22:56:02 +02:00

Fixed minor glitch on audio display

Originally committed to SVN as r139.
This commit is contained in:
Rodrigo Braz Monteiro 2006-02-24 01:16:27 +00:00
parent b5388c3bf9
commit 2383c68bac

View File

@ -1070,6 +1070,12 @@ void AudioDisplay::OnMouseEvent(wxMouseEvent& event) {
bool shiftDown = event.m_shiftDown;
bool ctrlDown = event.m_controlDown;
// Leaving event
if (event.Leaving()) {
event.Skip();
return;
}
// Is inside?
bool inside = false;
if (x >= 0 && y >= 0 && x < w && y < h) {