forked from mia/Aegisub
Fix infinite loop when switching between the \pos and \move icons in the visual subtoolbar
Originally committed to SVN as r6028.
This commit is contained in:
parent
c27ee9fcb8
commit
6ee6e10117
1 changed files with 2 additions and 0 deletions
|
@ -155,6 +155,8 @@ AssDialogue* VisualToolBase::GetActiveDialogueLine() {
|
|||
}
|
||||
|
||||
void VisualToolBase::SetDisplayArea(int x, int y, int w, int h) {
|
||||
if (x == video_pos.X() && y == video_pos.Y() && w == video_res.X() && h == video_res.Y()) return;
|
||||
|
||||
video_pos = Vector2D(x, y);
|
||||
video_res = Vector2D(w, h);
|
||||
|
||||
|
|
Loading…
Reference in a new issue