From a0f9febf628ea579866a0b3906102872617ccaf8 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Thu, 3 Mar 2022 12:53:46 +0100 Subject: [PATCH] Fix highlight color of quality dropdown CURA-8928 --- resources/qml/PrintSetupSelector/Custom/MenuButton.qml | 5 +---- resources/qml/ToolTip.qml | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/resources/qml/PrintSetupSelector/Custom/MenuButton.qml b/resources/qml/PrintSetupSelector/Custom/MenuButton.qml index 40c3d73e8b..5f5b5d2629 100644 --- a/resources/qml/PrintSetupSelector/Custom/MenuButton.qml +++ b/resources/qml/PrintSetupSelector/Custom/MenuButton.qml @@ -23,10 +23,7 @@ Button background: Rectangle { id: backgroundRectangle - border.width: UM.Theme.getSize("default_lining").width - border.color: button.checked ? UM.Theme.getColor("setting_control_border_highlight") : "transparent" - color: button.hovered ? UM.Theme.getColor("action_button_hovered") : "transparent" - radius: UM.Theme.getSize("action_button_radius").width + color: button.hovered ? UM.Theme.getColor("background_2"): UM.Theme.getColor("background_1") } // Workaround to ensure that the mnemonic highlighting happens correctly diff --git a/resources/qml/ToolTip.qml b/resources/qml/ToolTip.qml index f02bf0b50f..9937c92826 100644 --- a/resources/qml/ToolTip.qml +++ b/resources/qml/ToolTip.qml @@ -29,6 +29,7 @@ ToolTip visible: opacity != 0.0 opacity: 0.0 // initially hidden + Behavior on opacity { NumberAnimation { duration: 100; }