From 5f14a42553f651e2075e468afdced51e7d5a0c3f Mon Sep 17 00:00:00 2001 From: Giuppe Date: Fri, 25 Oct 2024 18:03:21 +0200 Subject: [PATCH] fix: FlxUICheckBox returning always checked=false in event params --- flixel/addons/ui/FlxUICheckBox.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flixel/addons/ui/FlxUICheckBox.hx b/flixel/addons/ui/FlxUICheckBox.hx index 92a2322c..be005877 100644 --- a/flixel/addons/ui/FlxUICheckBox.hx +++ b/flixel/addons/ui/FlxUICheckBox.hx @@ -54,7 +54,7 @@ class FlxUICheckBox extends FlxUIGroup implements ILabeled implements IFlxUIClic { params = []; } - var nb:NamedBool = {name: "checked", value: false}; + var nb:NamedBool = {name: "checked", value: checked}; params.push(nb); return params; }