From 589aaaf95f487a5f939a2bc4ae0b7ee0b71e0f4c Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Tue, 11 Nov 2025 00:56:53 -0500 Subject: [PATCH] fix: prevent `osdVolumeReact` state from improper init --- modules/dashboard/Mixer.qml | 7 ------- modules/ui/UIState.qml | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/modules/dashboard/Mixer.qml b/modules/dashboard/Mixer.qml index 60c1ac4..7ca119e 100644 --- a/modules/dashboard/Mixer.qml +++ b/modules/dashboard/Mixer.qml @@ -25,13 +25,6 @@ Item { objects: root.nodes } - Binding { - target: root.uiState - when: root.uiState.dashboardTab === root.index - property: "osdVolumeReact" - value: false - } - ColumnLayout { id: layout diff --git a/modules/ui/UIState.qml b/modules/ui/UIState.qml index 038b3fc..39307f8 100644 --- a/modules/ui/UIState.qml +++ b/modules/ui/UIState.qml @@ -29,7 +29,7 @@ Scope { // Other state property ListModel workspaces property int dashboardTab: 0 - property bool osdVolumeReact: true + property bool osdVolumeReact: !dashboard || dashboardTab !== 1 property bool osdBrightnessReact: true Component.onCompleted: {