Skip to content

Commit

Permalink
set painted=true sooner
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Jan 12, 2025
1 parent caa86b0 commit 34fe148
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions haxe/ui/backend/flixel/FlxStyleHelper.hx
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,10 @@ class FlxStyleHelper {
}

if (style.backgroundImage != null) {
painted = true;
Toolkit.assets.getImage(style.backgroundImage, function(info:ImageInfo) {
if (info != null && info.data != null) {
paintBackroundImage(sprite, info.data, style);

painted = true;
}
});
}
Expand Down

0 comments on commit 34fe148

Please sign in to comment.