GuiAssetAdder now allows to add/remove/edit Assets in a Replay. These Assets are not being saved yet.

This commit is contained in:
CrushedPixel
2015-07-06 16:39:30 +02:00
parent bf7b28d53c
commit 948803571d
14 changed files with 283 additions and 62 deletions

View File

@@ -36,7 +36,7 @@ public class GuiAdvancedTextField extends GuiTextField implements GuiElement {
@Override
public void drawTextBox() {
if (text.isEmpty() && !isFocused()) {
if (text.isEmpty() && !isFocused() && hint.length() > 0) {
super.setEnabled(false);
super.setDisabledTextColour(hintTextColor);
text = hint;