Set 'window.parameters' if 'attributes.parameters' is set during Window creation
This commit is contained in:
@@ -151,6 +151,8 @@ class Window {
|
|||||||
this.application = application;
|
this.application = application;
|
||||||
__attributes = attributes != null ? attributes : {};
|
__attributes = attributes != null ? attributes : {};
|
||||||
|
|
||||||
|
if (Reflect.hasField (__attributes, "parameters")) parameters = __attributes.parameters;
|
||||||
|
|
||||||
__width = 0;
|
__width = 0;
|
||||||
__height = 0;
|
__height = 0;
|
||||||
__fullscreen = false;
|
__fullscreen = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user