forked from mia/Aegisub
Check for COMMIT_NEW in the visual tools correctly
Originally committed to SVN as r5850.
This commit is contained in:
parent
55fc6c753e
commit
3dd5cbd31d
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ void VisualToolBase::OnCommit(int type) {
|
|||
holding = false;
|
||||
dragging = false;
|
||||
|
||||
if (type & AssFile::COMMIT_NEW || type & AssFile::COMMIT_SCRIPTINFO) {
|
||||
if (type == AssFile::COMMIT_NEW || type & AssFile::COMMIT_SCRIPTINFO) {
|
||||
int script_w, script_h;
|
||||
c->ass->GetResolution(script_w, script_h);
|
||||
script_res = Vector2D(script_w, script_h);
|
||||
|
|
Loading…
Reference in a new issue