From adb0766199ee59e98d3542fe81ad5fa19ddff9ea Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Mon, 10 Sep 2018 10:41:16 -0700 Subject: [PATCH] Set 'window.parameters' if 'attributes.parameters' is set during Window creation --- src/lime/ui/Window.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lime/ui/Window.hx b/src/lime/ui/Window.hx index c84c2d62e..6246a1f49 100644 --- a/src/lime/ui/Window.hx +++ b/src/lime/ui/Window.hx @@ -151,6 +151,8 @@ class Window { this.application = application; __attributes = attributes != null ? attributes : {}; + if (Reflect.hasField (__attributes, "parameters")) parameters = __attributes.parameters; + __width = 0; __height = 0; __fullscreen = false;