[framwswitcher] focus fix
This commit is contained in:
@@ -24,6 +24,7 @@ class FrameSwitcher extends GroupView implements IFrameSwitcher<Sprite> {
|
||||
}
|
||||
current = frames.get(id);
|
||||
addView(current);
|
||||
if (content.stage != null) content.stage.focus = current.content;
|
||||
var onShowMethod:Dynamic = Reflect.field(current, "onShow");
|
||||
if (onShowMethod != null) Reflect.callMethod(current, onShowMethod, []);
|
||||
return current;
|
||||
|
||||
Reference in New Issue
Block a user