diff options
author | j.delarago <joeydelarago@gmail.com> | 2022-06-20 12:33:28 +0300 |
---|---|---|
committer | j.delarago <joeydelarago@gmail.com> | 2022-06-20 12:33:28 +0300 |
commit | 4ee4a781f40225b49323f0a417c688fc736adbb1 (patch) | |
tree | ac43b78e1fcef1b115e9c97ddcefedef223f3a56 /resources/qml | |
parent | 9c16e200e09ec1e17216acedd6005ad95df4e0b7 (diff) |
Change flashing yellow warning on resolution combobox to blue flashing lining.
Removed alwaysRunToEnd on animation since we would like the previous animation to stop if a user clicks through multiple intents triggering multiple animations.
CURA-8849
Diffstat (limited to 'resources/qml')
-rw-r--r-- | resources/qml/Widgets/ComboBox.qml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/resources/qml/Widgets/ComboBox.qml b/resources/qml/Widgets/ComboBox.qml index 77e6c489e9..eac85bfb44 100644 --- a/resources/qml/Widgets/ComboBox.qml +++ b/resources/qml/Widgets/ComboBox.qml @@ -56,28 +56,30 @@ ComboBox background: UM.UnderlineBackground { - //Rectangle for highlighting when this combobox needs to pulse. + // Rectangle for highlighting when this combobox needs to pulse. Rectangle { anchors.fill: parent opacity: 0 - color: UM.Theme.getColor("warning") + color: "transparent" + + border.color: UM.Theme.getColor("text_field_border_active") + border.width: UM.Theme.getSize("default_lining").width SequentialAnimation on opacity { id: pulseAnimation running: false - loops: 1 - alwaysRunToEnd: true + loops: 2 PropertyAnimation { to: 1 - duration: 300 + duration: 150 } PropertyAnimation { to: 0 - duration : 2000 + duration : 150 } } } |