gui:busy overlay fixes
Build and Publish / test (push) Failing after 1m41s
Build and Publish / build (push) Skipped
Build and Publish / Build and Deploy Docs (push) Skipped

This commit is contained in:
appleb_m
2026-06-09 09:53:16 +02:00
parent 3f06afa8e5
commit 4322720f8f
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -27,10 +27,10 @@ def build_busy_overlay_style(
return BusyOverlayStyle(
text="SESSION VACANT",
badge_bg="#f1c40f",
badge_fg="#3b2f00",
badge_fg="#ffffff",
overlay_fill=QColor(241, 196, 15, 195),
overlay_border=QColor(255, 248, 210, 235),
overlay_text=QColor(59, 47, 0),
overlay_text=QColor(255, 255, 255),
accent_dot="#fff6bf",
)
+3
View File
@@ -279,6 +279,9 @@ class SampleCameraImageLabel(QGraphicsView):
painter.restore()
def __draw_session_overlay(self, painter: QPainter):
if self.__busy_overlay_style is not None:
return
if self.__session_state in (SessionsStateEnum.OwnedByYou, SessionsStateEnum.PendingElseToYou):
return