albrechtroehm
12/13/2019, 3:09 PMmainmenu.replaceWith(workspace, sizeToScenne = true, ...)
kind of ugly, lagy or jumpy... on the other hand creating a new Window with find<WorkspaceView>().close()
find<MainMenu>().openWindow(escapeClosesWindow = false)
resulted in messing up the scopes (which i didn't cared about at all at that point) and some other stuff... but looks much better. Maybe someone has some thoughts on this ... Thanksalbrechtroehm
12/13/2019, 3:43 PMmainMenu.root.isVisible = false
primaryStage.isResizable = true
mainMenu.replaceWith(splitView, ViewTransition.FadeThrough(250.millis), sizeToScene = true, centerOnScreen = true)
What makes the effect a litte better is when i set the mainmenu invisible before switching the view and not having the old content resized and somehow faded ...