Close on Esc Sub Gui Issues for Animations

This commit is contained in:
Kam committed 2024-08-22 13:43:37 -04:00
1 parent 8f36ad7e18
commit 6606493efe
2 files changed
+4 -2

No files matched your search

@@ -6,12 +6,13 @@ import noppes.npcs.controllers.data.Frame;
public class SubGuiAnimationFrame extends SubGuiInterface implements ITextfieldListener {
private final Frame editingFrame;
public SubGuiAnimationFrame(Frame editingFrame) {
this.editingFrame = editingFrame;
setBackground("smallbg.png");
this.closeOnEsc = true;
}
@Override
public void initGui() {
super.initGui();
@@ -12,6 +12,7 @@ public class SubGuiAnimationOptions extends SubGuiInterface {
public SubGuiAnimationOptions(Animation animation) {
this.animation = animation;
setBackground("smallbg.png");
this.closeOnEsc = true;
}
@Override