buttonview fix

This commit is contained in:
2015-05-06 18:00:11 +03:00
parent 91d588d622
commit a9886d8cc4

View File

@@ -42,8 +42,10 @@ class ButtonView extends LabelView {
}
private function onMouseClick(event:MouseEvent):Void {
event.stopImmediatePropagation();
if (!disabled) dispatcher.dispatch(pressCaller);
#if js if (downed) { #end
event.stopImmediatePropagation();
if (!disabled) dispatcher.dispatch(pressCaller);
#if js } #end
}
private function onMouseOver(event:MouseEvent):Void {