mirror of https://github.com/odrling/Aegisub
Fix left-click check on audio display
Originally committed to SVN as r6189.
This commit is contained in:
parent
e34b401201
commit
3f9080bbee
|
@ -1161,7 +1161,7 @@ void AudioDisplay::OnMouseEvent(wxMouseEvent& event)
|
|||
SetCursor(wxNullCursor);
|
||||
}
|
||||
|
||||
if (event.ButtonDown(wxMOUSE_BTN_LEFT | wxMOUSE_BTN_RIGHT))
|
||||
if (event.LeftDown() || event.RightDown())
|
||||
{
|
||||
int64_t samplepos = SamplesFromRelativeX(mousepos.x);
|
||||
AudioMarker *marker = event.LeftDown() ?
|
||||
|
|
Loading…
Reference in New Issue