mirror of https://github.com/odrling/Aegisub
Fix bug where changing the script resolution would not update the current visual tool
Originally committed to SVN as r4803.
This commit is contained in:
parent
2324a1f197
commit
84f646b88b
|
@ -228,7 +228,6 @@ void VideoDisplay::SetFrame(int frameNumber) {
|
|||
|
||||
// Render the new frame
|
||||
if (context->IsLoaded()) {
|
||||
context->GetScriptSize(scriptW, scriptH);
|
||||
tool->SetFrame(frameNumber);
|
||||
context->GetFrameAsync(currentFrame);
|
||||
}
|
||||
|
@ -300,6 +299,7 @@ void VideoDisplay::Render() try {
|
|||
}
|
||||
|
||||
if (video.x > INT_MIN || video.y > INT_MIN || alwaysShowTools->GetBool()) {
|
||||
context->GetScriptSize(scriptW, scriptH);
|
||||
tool->Draw();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue