From ce74d2fdfc0b3fe21ed955130058f0df12033a59 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sun, 29 May 2022 15:56:21 +0200 Subject: [PATCH] [calamares] Fix QML progress highlights --- src/calamares/calamares-sidebar.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/calamares/calamares-sidebar.qml b/src/calamares/calamares-sidebar.qml index 06b61d8c7..653d0ee31 100644 --- a/src/calamares/calamares-sidebar.qml +++ b/src/calamares/calamares-sidebar.qml @@ -66,7 +66,7 @@ Rectangle { Layout.fillWidth: true; height: 35 Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom - color: Branding.styleString( mouseArea.containsMouse ? Branding.SidebarTextHighlight : Branding.SidebarBackground); + color: Branding.styleString( mouseAreaAbout.containsMouse ? Branding.SidebarTextHighlight : Branding.SidebarBackground); visible: true; MouseArea { @@ -78,7 +78,7 @@ Rectangle { anchors.verticalCenter: parent.verticalCenter; x: parent.x + 4; text: qsTr("About Calamares") - color: Branding.styleString( mouseArea.containsMouse ? Branding.SidebarTextSelect : Branding.SidebarBackground ); + color: Branding.styleString( mouseAreaAbout.containsMouse ? Branding.SidebarTextSelect : Branding.SidebarBackground ); font.pointSize : 9 } @@ -90,7 +90,7 @@ Rectangle { Layout.fillWidth: true; height: 35 Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom - color: Branding.styleString( mouseArea.containsMouse ? Branding.SidebarTextHighlight : Branding.SidebarBackground); + color: Branding.styleString( mouseAreaDebug.containsMouse ? Branding.SidebarTextHighlight : Branding.SidebarBackground); visible: debug.enabled MouseArea { @@ -102,7 +102,7 @@ Rectangle { anchors.verticalCenter: parent.verticalCenter; x: parent.x + 4; text: qsTr("Show debug information") - color: Branding.styleString( mouseArea.containsMouse ? Branding.SidebarTextSelect : Branding.SidebarBackground ); + color: Branding.styleString( mouseAreaDebug.containsMouse ? Branding.SidebarTextSelect : Branding.SidebarBackground ); font.pointSize : 9 }