Skip to content

Commit 34fe148

Browse files
committed
set painted=true sooner
1 parent caa86b0 commit 34fe148

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

haxe/ui/backend/flixel/FlxStyleHelper.hx

+1-2
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,10 @@ class FlxStyleHelper {
188188
}
189189

190190
if (style.backgroundImage != null) {
191+
painted = true;
191192
Toolkit.assets.getImage(style.backgroundImage, function(info:ImageInfo) {
192193
if (info != null && info.data != null) {
193194
paintBackroundImage(sprite, info.data, style);
194-
195-
painted = true;
196195
}
197196
});
198197
}

0 commit comments

Comments
 (0)