forked from mia/Aegisub
Update the edit box less often during visual tool drags, making drags ~20% faster.
Originally committed to SVN as r4426.
This commit is contained in:
parent
625ce943f5
commit
2659b79036
1 changed files with 2 additions and 1 deletions
|
@ -266,7 +266,8 @@ void VisualTool<FeatureType>::Commit(bool full, wxString message) {
|
||||||
grid->ass->FlagAsModified(message);
|
grid->ass->FlagAsModified(message);
|
||||||
}
|
}
|
||||||
grid->CommitChanges(false,!full);
|
grid->CommitChanges(false,!full);
|
||||||
grid->editBox->Update(false, true, false);
|
if (full)
|
||||||
|
grid->editBox->Update(false, true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class FeatureType>
|
template<class FeatureType>
|
||||||
|
|
Loading…
Reference in a new issue