haxeui / haxeui-openfl

The OpenFL backend of the HaxeUI framework -
http://haxeui.org
MIT License
42 stars 14 forks source link

Button's repeater not working #26

Closed intoxopox closed 6 years ago

intoxopox commented 6 years ago

Expected Behavior

Setting button's repeater to true should cause click event to continue firing at intervals of repeaterInterval while button is pressed.

Current Behavior

Setting button's repeater to true seems to have no effect at all.

ianharrigan commented 6 years ago

Which backend are you using? Do you have a minimal test case? I tried this on haxeui-html5:

<button text="Test" repeater="true" onclick="trace('bob')" />

And it all seems to work fine / as expected.

EDIT: just realised this is in the openfl repo - will try that.

ianharrigan commented 6 years ago

This should be fixed now, can you retest and close if its all working?

Cheers, Ian