mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 01:15:51 +08:00
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
This commit is contained in:
parent
9c16e200e0
commit
4ee4a781f4
@ -56,28 +56,30 @@ ComboBox
|
|||||||
|
|
||||||
background: UM.UnderlineBackground
|
background: UM.UnderlineBackground
|
||||||
{
|
{
|
||||||
//Rectangle for highlighting when this combobox needs to pulse.
|
// Rectangle for highlighting when this combobox needs to pulse.
|
||||||
Rectangle
|
Rectangle
|
||||||
{
|
{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
opacity: 0
|
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
|
SequentialAnimation on opacity
|
||||||
{
|
{
|
||||||
id: pulseAnimation
|
id: pulseAnimation
|
||||||
running: false
|
running: false
|
||||||
loops: 1
|
loops: 2
|
||||||
alwaysRunToEnd: true
|
|
||||||
PropertyAnimation
|
PropertyAnimation
|
||||||
{
|
{
|
||||||
to: 1
|
to: 1
|
||||||
duration: 300
|
duration: 150
|
||||||
}
|
}
|
||||||
PropertyAnimation
|
PropertyAnimation
|
||||||
{
|
{
|
||||||
to: 0
|
to: 0
|
||||||
duration : 2000
|
duration : 150
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user