fix: prevent osdVolumeReact state from improper init

This commit is contained in:
Kiana Sheibani 2025-11-11 00:56:53 -05:00
parent e3e5a7e1d5
commit 589aaaf95f
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
2 changed files with 1 additions and 8 deletions

View file

@ -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

View file

@ -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: {