forked from mia/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
1 changed files with 2 additions and 1 deletions
|
@ -248,7 +248,8 @@ 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()) {
|
||||||
tool->Draw();
|
if (!con->videoController->IsPlaying())
|
||||||
|
tool->Draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
SwapBuffers();
|
SwapBuffers();
|
||||||
|
|
Loading…
Reference in a new issue