mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 10:19:08 +00:00
Cached all GuiScriptTextArea tabs of GuiScriptInterface (fixes all tabs sharing the same undo/redo lists and other similar undesired behaviors)
This commit is contained in:
1 parent
51aca95590
commit
0e3b0f047a
2 files changed
+39
-10
No files matched your search
@@ -365,7 +365,6 @@ public class GuiScriptTextArea extends GuiNpcTextField {
|
||||
}
|
||||
});
|
||||
|
||||
initializeKeyBindings();
|
||||
init(x, y, width, height, text);
|
||||
}
|
||||
|
||||
@@ -378,6 +377,7 @@ public class GuiScriptTextArea extends GuiNpcTextField {
|
||||
this.setText(text);
|
||||
this.undoing = false;
|
||||
initGui();
|
||||
initializeKeyBindings();
|
||||
}
|
||||
public void initGui() {
|
||||
int endX = x + width, endY = y + height;
|
||||
|
||||
Reference in new issue
Block a user