forked from mia/Aegisub
Fix left-click check on audio display
Originally committed to SVN as r6189.
This commit is contained in:
parent
e34b401201
commit
3f9080bbee
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue