Skip to content

Commit

Permalink
Null<Float> should be Float (incompatible override on static targets)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Oct 15, 2024
1 parent c25e45a commit 8ce3f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haxe/ui/containers/Panel.hx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Panel extends VBox {
return super.set_percentHeight(value);
}

public override function set_height(value:Null<Float>):Null<Float> {
public override function set_height(value:Float):Float {
contentContainer.percentHeight = 100;
return super.set_height(value);
}
Expand Down

0 comments on commit 8ce3f2c

Please sign in to comment.