Fix Presets Scroll; Fix Placeholder position in the quantity field; Hide rendering error in chat; (#555)

Co-authored-by: slprime <[email protected]>
Co-authored-by: Martin Robertz <[email protected]>
This commit is contained in:
authored and GitHub committed 2024-11-17 16:31:10 +01:00
1 parent e9ce5cf72b
commit a0e16835c2
13 files changed
+70 -68

No files matched your search

@@ -44,6 +44,7 @@ public class ItemQuantityField extends TextField {
if (!focused() && intValue() == 0) {
field.setText(translate("itempanel.quantity.default"));
field.setCursorPositionZero();
field.setEnabled(false);
super.draw(mousex, mousey);
field.setEnabled(true);