Minor HTML5 window init fix
This commit is contained in:
@@ -88,6 +88,8 @@ class HTML5Window {
|
||||
var attributes = parent.__attributes;
|
||||
if (!Reflect.hasField (attributes, "context")) attributes.context = {};
|
||||
|
||||
renderType = attributes.context.type;
|
||||
|
||||
if (Reflect.hasField (attributes, "element")) {
|
||||
|
||||
parent.element = attributes.element;
|
||||
|
||||
@@ -43,6 +43,7 @@ typedef RenderContextAttributes = {
|
||||
The type of render context requested
|
||||
**/
|
||||
@:optional var type:RenderContextType;
|
||||
|
||||
@:optional var version:String;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user