mirror of https://github.com/odrling/Aegisub
Hide visual tools while video is playing. Updates #1336.
Originally committed to SVN as r5585.
This commit is contained in:
parent
4cce4ff40d
commit
d76637a26b
|
@ -297,7 +297,10 @@ void VideoDisplay::Render() try {
|
||||||
|
|
||||||
DrawTVEffects();
|
DrawTVEffects();
|
||||||
|
|
||||||
|
if (!context->IsPlaying())
|
||||||
visual->Draw();
|
visual->Draw();
|
||||||
|
else
|
||||||
|
ShowCursor(true);
|
||||||
|
|
||||||
glFinish();
|
glFinish();
|
||||||
SwapBuffers();
|
SwapBuffers();
|
||||||
|
|
Loading…
Reference in New Issue