mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-05 21:42:05 +08:00
ui(raylib): fix typos (#35030)
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user