Skip to content

Commit

Permalink
remove #if hl in Variant::fromDynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Sep 30, 2024
1 parent e7fc1b2 commit f848635
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions haxe/ui/util/Variant.hx
Original file line number Diff line number Diff line change
Expand Up @@ -511,11 +511,7 @@ abstract Variant(VariantType) from VariantType {
} else if ((r is String)) {
v = cast(r, String);
} else {
#if hl
v = null;
#else
v = r;
#end
}
} else {
if ((r is Component)) {
Expand All @@ -534,11 +530,7 @@ abstract Variant(VariantType) from VariantType {
} else if ((r is ImageData)) {
v = cast(r, ImageData);
} else {
#if hl
v = null;
#else
v = r;
#end
}
}
}
Expand Down

0 comments on commit f848635

Please sign in to comment.