Fix for Dialogs crashing on iOS (#2866)

This commit is contained in:
Nathanael Anderson
2016-10-11 06:58:30 -05:00
committed by Hristo Hristov
parent b42cff63a2
commit a5273b74ed

View File

@@ -54,6 +54,7 @@ export function getButtonColor(): color.Color {
var btn = new button.Button();
applySelectors(btn);
buttonColor = btn.color;
btn.onUnloaded();
}
return buttonColor;