mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 06:29:41 +00:00
Dialog System
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user