Flash fixes

This commit is contained in:
Joshua Granick
2018-07-07 11:10:57 -07:00
parent 6743c61405
commit ead5cd8946
2 changed files with 7 additions and 1 deletions

View File

@@ -206,7 +206,7 @@ class FlashWindow {
};
if (Reflect.hasField (attributes, "context") && Reflect.hasField (attributes.context, "background")) {
if (Reflect.hasField (attributes, "context") && Reflect.hasField (attributes.context, "background") && attributes.context.background != null) {
stage.color = attributes.context.background;
contextAttributes.background = stage.color;