Skip to content

Commit

Permalink
Group.setTransform set to false
Browse files Browse the repository at this point in the history
To improve performance but verify if it does not have side effects.
  • Loading branch information
UlrichLa committed Jan 30, 2023
1 parent 5c388aa commit 01f38fb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ private void createNewStage() {
}

stage = new Stage(viewPort, batch);
// small improvement but not sure about side effects.
stage.getRoot().setTransform(false);
SensorHandler.timerReferenceValue = SystemClock.uptimeMillis();
}

Expand Down

0 comments on commit 01f38fb

Please sign in to comment.