Improve Scene Switching #109

Merged
kske merged 5 commits from improved-scene-switching into develop 2020-11-22 11:19:42 +01:00
Owner

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

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
kske added this to the v0.3-beta milestone 2020-11-20 14:14:11 +01:00
kske added the
bug
client
M
labels 2020-11-20 14:14:11 +01:00
kske self-assigned this 2020-11-20 14:14:11 +01:00
delvh approved these changes 2020-11-20 14:22:57 +01:00
delvh left a comment
Owner

👍 Seems fine

👍 Seems fine
Owner

I like how you didn't even assign @DieGurke as a reviewer...

I like how you didn't even assign @DieGurke as a reviewer...
delvh added the due date 2020-11-22 2020-11-21 20:55:28 +01:00
delvh reviewed 2020-11-21 20:58:31 +01:00
@ -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?

Wait, you don't want to log the failed loading?
kske marked this conversation as resolved
kske requested review from mpk 2020-11-22 09:10:59 +01:00
mpk approved these changes 2020-11-22 11:16:02 +01:00
delvh approved these changes 2020-11-22 11:19:20 +01:00
delvh left a comment
Owner

👍

👍
kske merged commit 0ff910ebde into develop 2020-11-22 11:19:41 +01:00
kske deleted branch improved-scene-switching 2020-11-22 11:19:46 +01:00
This repo is archived. You cannot comment on pull requests.
No description provided.