mirror of https://github.com/odrling/Aegisub
Only display the cursor time in the audio display when it's enabled
Originally committed to SVN as r5784.
This commit is contained in:
parent
17b9347562
commit
b4ace668de
|
@ -1104,7 +1104,7 @@ void AudioDisplay::OnMouseEvent(wxMouseEvent& event)
|
|||
}
|
||||
|
||||
if (!controller->IsPlaying())
|
||||
SetTrackCursor(scroll_left + mousepos.x, true);
|
||||
SetTrackCursor(scroll_left + mousepos.x, OPT_GET("Audio/Display/Draw/Cursor Time")->GetBool());
|
||||
}
|
||||
|
||||
if (event.Leaving() && !controller->IsPlaying())
|
||||
|
|
Loading…
Reference in New Issue