From 85c25e05000d507762157fe63420c301ab73cbd5 Mon Sep 17 00:00:00 2001 From: Aspect1103 Date: Thu, 27 Apr 2023 15:51:07 +0100 Subject: [PATCH] Fixed load_texture_pair's type hints. --- arcade/texture/loading.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arcade/texture/loading.py b/arcade/texture/loading.py index 36829f49d..ab9df3e06 100644 --- a/arcade/texture/loading.py +++ b/arcade/texture/loading.py @@ -160,7 +160,7 @@ def _load_or_get_image( def load_texture_pair( - file_name: str, + file_name: Union[str, Path], hit_box_algorithm: Optional[HitBoxAlgorithm] = None ) -> Tuple[Texture, Texture]: """