From 6bebf5407382c99efcdeb25fd6ba567b4d7211a8 Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Tue, 18 Mar 2025 09:53:26 +0100 Subject: [PATCH] Fix NinePatch.initialize The initialized test was reversed --- arcade/gui/nine_patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arcade/gui/nine_patch.py b/arcade/gui/nine_patch.py index d152ff3354..881b783805 100644 --- a/arcade/gui/nine_patch.py +++ b/arcade/gui/nine_patch.py @@ -123,7 +123,7 @@ def initialize(self) -> None: Manually initialize the NinePatchTexture if it was lazy loaded. This has no effect if the NinePatchTexture was already initialized. """ - if self._initialized: + if not self._initialized: self._init_deferred() @property