some sort of bug fixes

This commit is contained in:
Yonokid
2025-06-28 22:40:42 -04:00
parent e0a8661071
commit e2627d687c
3 changed files with 58 additions and 39 deletions

View File

@@ -810,6 +810,7 @@ class OutlinedText:
self._draw_vertical_text(image, width)
ray.export_image(image, f'cache/image/{self.hash}.png')
text_cache.add(self.hash)
texture = ray.load_texture_from_image(image)
ray.unload_image(image)
return texture