forked from mia/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
1 changed files with 1 additions and 1 deletions
|
@ -1104,7 +1104,7 @@ void AudioDisplay::OnMouseEvent(wxMouseEvent& event)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!controller->IsPlaying())
|
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())
|
if (event.Leaving() && !controller->IsPlaying())
|
||||||
|
|
Loading…
Reference in a new issue