Dialog System

This commit is contained in:
Kam committed 2026-02-05 19:35:43 -05:00
1 parent e010408257
commit fff0bfd63b
19 files changed
+2359 -1220

No files matched your search

@@ -361,4 +361,13 @@ public class GuiNpcTextField extends GuiTextField {
GL11.glEnable(GL11.GL_ALPHA_TEST);
GL11.glEnable(GL11.GL_TEXTURE_2D);
}
/**
* Sync GuiTextField.width/height for subclasses that shadow these fields.
* Since GuiNpcTextField does NOT shadow width/height, this.width writes to GuiTextField.width.
*/
protected void syncGuiTextFieldBounds(int w, int h) {
this.width = w;
this.height = h;
}
}