Improve Scene Switching #109
Labels
No Label
client
server
user made
L
M
S
XL
bug
bugfix
discussion
documentation
feature
maintenance
postponed
refactoring
wontfix
No Milestone
No Assignees
3 Participants
Due Date
Dependencies
No dependencies set.
Reference: zdm/envoy#109
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "improved-scene-switching"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request improves the scene switching mechanism implemented in
SceneContext
.Instead of creating a new scene every time a scene change is triggered, the same scene is reused with another root node.
By adjusting the initial size of the scene to that of the stage, the stage is now resized during a scene change, resulting in a superior user experience.
Fixes #89
👍 Seems fine
I like how you didn't even assign @DieGurke as a reviewer...
@ -124,4 +89,0 @@
applyCSS();
stage.show();
} catch (final IOException e) {
EnvoyLog.getLogger(SceneContext.class).log(Level.SEVERE,
Wait, you don't want to log the failed loading?
👍