Merge pull request #2890 from kevlahnota/newmaster2

set window widget movable to false
This commit is contained in:
Anthony Calosa
2023-04-11 19:49:48 +08:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -198,9 +198,9 @@ public class PlayerStatisticScene extends UIScene {
}
if (blessingScroll != null) {
if (Current.player().getBlessing() != null) {
blessingScroll.setText(Current.player().getBlessing().getDescription());
blessingScroll.setText("[BLACK]" + Current.player().getBlessing().getDescription());
} else {
blessingScroll.setText("No blessing.");
blessingScroll.setText("[BLACK]No blessing.");
}
}

View File

@@ -174,6 +174,7 @@ public class UIActor extends Group {
break;
}
}
newActor.setMovable(false);
}
private void readTextFieldProperties(TextField newActor, ObjectMap.Entries<String, String> entries) {