Fixed File did not appear modified when only header was modified

Width and Height in new File dialog instead of rect.
Unit selection.
This commit is contained in:
Jindra Petřík
2022-11-06 10:57:44 +01:00
parent 730a09f6d6
commit 40ea9175b1
7 changed files with 64 additions and 32 deletions

View File

@@ -230,8 +230,10 @@ public class HeaderInfoPanel extends JPanel implements TagEditorPanel {
swf.displayRect.Xmax = (int) xMaxEditor.getModel().getValue();
swf.displayRect.Ymin = (int) yMinEditor.getModel().getValue();
swf.displayRect.Ymax = (int) yMaxEditor.getModel().getValue();
swf.setHeaderModified(true);
load(swf);
Main.getMainFrame().getPanel().repaintTree();
setEditMode(false);
}