ui(raylib): fix typos (#35030)

pull/35033/head
Cameron Clough 2 months ago committed by GitHub
parent a4cdc96a99
commit 4f913f0cfb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      system/ui/lib/application.py

@ -73,7 +73,7 @@ class GuiApplication:
for font in self._fonts.values():
rl.unload_font(font)
self._fonts = []
self._fonts = {}
rl.close_window()
@ -90,8 +90,8 @@ class GuiApplication:
rl.end_drawing()
self._monitor_fps()
def font(self, font_wight: FontWeight=FontWeight.NORMAL):
return self._fonts[font_wight]
def font(self, font_weight: FontWeight=FontWeight.NORMAL):
return self._fonts[font_weight]
@property
def width(self):

Loading…
Cancel
Save