Skip to content

Commit

Permalink
Merge pull request #2 from Jarrio/patch-3
Browse files Browse the repository at this point in the history
Update Range.hx
  • Loading branch information
Jarrio authored Jan 25, 2024
2 parents 3c61e82 + 2f125b7 commit 9f81b44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions haxe/ui/components/Range.hx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private class RangeEnd extends DataBehaviour {
@:access(haxe.ui.core.Component)
private class AllowInteraction extends DefaultBehaviour {
public override function get():Variant {
return (_component._internalEvents != null);
return (cast _component._internalEvents != null);
}

public override function set(value:Variant) {
Expand Down Expand Up @@ -266,4 +266,4 @@ class RangeBuilder extends CompositeBuilder {
var name = _component.className.split(".").pop();
trace("WARNING: trying to create an instance of '" + name + "' directly, use either 'Horizontal" + name + "' or 'Vertical" + name + "'");
}
}
}

0 comments on commit 9f81b44

Please sign in to comment.