From 5f32af03f19d96918813490a168e3f2a2d0a3569 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Sun, 9 Oct 2022 00:34:46 +0000 Subject: [PATCH] ui improvements --- projects/nat-flixel-desktop-playground/source/PlayState.kiss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/nat-flixel-desktop-playground/source/PlayState.kiss b/projects/nat-flixel-desktop-playground/source/PlayState.kiss index a3208a58..110a815a 100644 --- a/projects/nat-flixel-desktop-playground/source/PlayState.kiss +++ b/projects/nat-flixel-desktop-playground/source/PlayState.kiss @@ -29,7 +29,7 @@ (prop screenCamera (new FlxCamera 0 0 FlxG.width FlxG.height)) - (prop &mut :SimpleWindow uiWindow (new SimpleWindow 0.5 0.5 true "escape")) + (prop &mut :SimpleWindow uiWindow (new SimpleWindow 0.8 0.8 true "escape")) (set uiWindow.cameras [screenCamera]) (set uiWindow.keyboardEnabled false) @@ -202,6 +202,7 @@ (FlxG.camera.calculateScrollBounds entryGroup SCROLL_BOUND_MARGIN)) (method :Void displayMessage [:String message] + (print message) (uiWindow.makeText message) (uiWindow.show)) @@ -210,6 +211,7 @@ (uiWindow.hide)) (method :Void reportError [:String error] + (print error) (uiWindow.makeText error FlxColor.RED) (uiWindow.show))