mirror of https://github.com/odrling/Aegisub
Hide visual tools while video is playing. Closes #1336.
Originally committed to SVN as r5586.
This commit is contained in:
parent
182b57bd0f
commit
e5d660e281
|
@ -248,6 +248,7 @@ void VideoDisplay::Render() try {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (video.x > INT_MIN || video.y > INT_MIN || alwaysShowTools->GetBool()) {
|
if (video.x > INT_MIN || video.y > INT_MIN || alwaysShowTools->GetBool()) {
|
||||||
|
if (!con->videoController->IsPlaying())
|
||||||
tool->Draw();
|
tool->Draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue