Hide visual tools while video is playing. Closes #1336.

Originally committed to SVN as r5586.
This commit is contained in:
Thomas Goyne 2011-09-02 00:03:40 +00:00
parent 182b57bd0f
commit e5d660e281
1 changed files with 2 additions and 1 deletions

View File

@ -248,7 +248,8 @@ void VideoDisplay::Render() try {
}
if (video.x > INT_MIN || video.y > INT_MIN || alwaysShowTools->GetBool()) {
tool->Draw();
if (!con->videoController->IsPlaying())
tool->Draw();
}
SwapBuffers();