Skip to content

Commit 94f1d57

Browse files
authored
Fix NinePatch.initialize (#2615)
The initialized test was reversed
1 parent fca4039 commit 94f1d57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arcade/gui/nine_patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def initialize(self) -> None:
123123
Manually initialize the NinePatchTexture if it was lazy loaded.
124124
This has no effect if the NinePatchTexture was already initialized.
125125
"""
126-
if self._initialized:
126+
if not self._initialized:
127127
self._init_deferred()
128128

129129
@property

0 commit comments

Comments
 (0)