ui: sync gpu loading to offroad (#38727)

ui: sync gpu loading state
This commit is contained in:
Daniel Koepping
2026-08-28 15:08:18 -07:00
committed by GitHub
parent e571e21d14
commit a67cdf9a51
2 changed files with 9 additions and 1 deletions
@@ -14,3 +14,6 @@ class IconWidget(Widget):
def _render(self, _) -> None:
color = rl.Color(255, 255, 255, int(self._opacity * 255))
rl.draw_texture_ex(self._texture, rl.Vector2(self._rect.x, self._rect.y), 0.0, 1.0, color)
def set_opacity(self, opacity: float) -> None:
self._opacity = opacity