Removed color animation from stage buttons

This caused laggy updates and it didn't add that much anyway

CURA-5772
This commit is contained in:
Jaime van Kessel 2018-11-06 11:06:20 +01:00
parent 8117c087aa
commit 11a3da3068
2 changed files with 0 additions and 4 deletions

View file

@ -37,7 +37,6 @@ Button
color: button.hovered ? button.textHoverColor : button.textColor
visible: source != ""
anchors.verticalCenter: parent.verticalCenter
Behavior on color { ColorAnimation { duration: 50 } }
}
Label
@ -59,7 +58,6 @@ Button
radius: UM.Theme.getSize("action_button_radius").width
border.width: UM.Theme.getSize("default_lining").width
border.color: button.enabled ? (button.hovered ? button.outlineHoverColor : button.outlineColor) : button.outlineDisabledColor
Behavior on color { ColorAnimation { duration: 50 } }
}
MouseArea