best-needle-18998
06/19/2022, 1:19 AMuser
06/19/2022, 6:29 AMsilly-alligator-51979
06/19/2022, 1:09 PMbright-gpu-74537
06/19/2022, 1:16 PMbright-gpu-74537
06/19/2022, 1:17 PMbright-gpu-74537
06/19/2022, 1:20 PMbright-gpu-74537
06/19/2022, 1:21 PMhaxe
class MyComponent extends HBox {
private var button1:Button;
private var button2:Button;
public function new() {
super();
button1 = new Button();
button1.text = "Button 1";
addComponent(button1);
button2 = new Button();
button2.text = "Button 2";
addComponent(button2);
}
@:bind(button1, MouseEvent.CLICK)
private function onButton1(_) {
button1.text = "Clicked!";
}
@:bind(button2, MouseEvent.CLICK)
private function onButton2(_) {
button2.text = "Clicked!";
}
}bright-gpu-74537
06/19/2022, 1:21 PMicy-zebra-52882
06/20/2022, 10:46 AMicy-zebra-52882
06/20/2022, 10:48 AMicy-zebra-52882
06/20/2022, 10:49 AMbright-gpu-74537
06/20/2022, 11:06 AMicy-zebra-52882
06/20/2022, 12:52 PMicy-zebra-52882
06/20/2022, 1:19 PMicy-zebra-52882
06/20/2022, 1:21 PMicy-zebra-52882
06/20/2022, 1:21 PMicy-zebra-52882
06/20/2022, 1:22 PMelegant-twilight-61392
06/20/2022, 1:22 PMicy-zebra-52882
06/20/2022, 1:23 PMelegant-twilight-61392
06/20/2022, 1:23 PMicy-zebra-52882
06/20/2022, 1:24 PMelegant-twilight-61392
06/20/2022, 1:25 PMicy-zebra-52882
06/20/2022, 1:26 PMicy-zebra-52882
06/20/2022, 1:26 PMhx
#if FLX_TOUCH
trace("Touch is enabled");
#end
and it traced correctlyicy-zebra-52882
06/20/2022, 1:28 PMelegant-twilight-61392
06/20/2022, 1:29 PMbright-gpu-74537
06/20/2022, 1:31 PMhaxeui-touch-repro.js:92478 Uncaught ReferenceError: Howl is not definedicy-zebra-52882
06/20/2022, 1:32 PMFLX_TOUCH at all, so even when I add <haxedef name="FLX_NO_TOUCH" if="web"/> touch input still scrolls the scrollview and doesn't work on the buttons, as beforeicy-zebra-52882
06/20/2022, 1:33 PMbright-gpu-74537
06/20/2022, 1:35 PM