happy-agent-4114
03/17/2023, 7:27 PMhappy-agent-4114
03/17/2023, 7:27 PMbright-gpu-74537
03/17/2023, 7:27 PMhappy-agent-4114
03/17/2023, 7:28 PMhappy-agent-4114
03/17/2023, 7:29 PMbright-gpu-74537
03/17/2023, 7:29 PMhappy-agent-4114
03/17/2023, 7:29 PMbright-gpu-74537
03/17/2023, 7:29 PMhappy-agent-4114
03/17/2023, 7:29 PMbright-gpu-74537
03/17/2023, 7:29 PMbright-gpu-74537
03/17/2023, 7:30 PMbright-gpu-74537
03/17/2023, 7:31 PMhappy-agent-4114
03/17/2023, 7:31 PMhappy-agent-4114
03/17/2023, 7:31 PMbright-gpu-74537
03/17/2023, 7:31 PMbright-gpu-74537
03/17/2023, 7:31 PMhappy-agent-4114
03/17/2023, 7:32 PMbright-gpu-74537
03/17/2023, 7:33 PMhaxe
@:bind(graphDisplay, haxe.ui.events.UIEvent.RESIZE)
private function onGraphDisplayResize(_) {
gp.width = Std.int(graphDisplay.width);
gp.height = Std.int(graphDisplay.height);
loadGraph(gp);
}
bright-gpu-74537
03/17/2023, 7:33 PMhappy-agent-4114
03/17/2023, 7:33 PMhappy-agent-4114
03/17/2023, 7:34 PMhappy-agent-4114
03/17/2023, 7:34 PMbright-gpu-74537
03/17/2023, 7:35 PMbright-gpu-74537
03/17/2023, 7:35 PMhaxe
@:bind(imgAboutButton, MouseEvent.CLICK)
private function showAbout(){}
happy-agent-4114
03/17/2023, 7:36 PMbright-gpu-74537
03/17/2023, 7:36 PMbright-gpu-74537
03/17/2023, 7:36 PM() -> Void should be Unknown<0> : haxe.ui.events.UIEvent -> Void
... would be more useful if the line number was more correct, but yeah, that was the errorbright-gpu-74537
03/17/2023, 7:37 PMprivate function showAbout(){}
should be private function showAbout(_){}
, ie, the callback is expecting a paramhappy-agent-4114
03/17/2023, 7:38 PM