Skip to content

Commit

Permalink
feat: update preview on opening screen
Browse files Browse the repository at this point in the history
- especially relevant for coming back from WorldSetupScreen
  • Loading branch information
jdrueckert committed Oct 15, 2023
1 parent 194f87d commit 617dd1f
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,15 @@ public void set(String value) {
});
}

@Override
public void onScreenOpened() {
super.onScreenOpened();

if (texture != null) {
updatePreview();
}
}

@Override
public void update(float delta) {
super.update(delta);
Expand Down

0 comments on commit 617dd1f

Please sign in to comment.