Browse Source

Removed color animation from stage buttons

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

CURA-5772
Jaime van Kessel 6 years ago
parent
commit
11a3da3068
2 changed files with 0 additions and 4 deletions
  1. 0 2
      resources/qml/ActionButton.qml
  2. 0 2
      resources/themes/cura-light/styles.qml

+ 0 - 2
resources/qml/ActionButton.qml

@@ -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

+ 0 - 2
resources/themes/cura-light/styles.qml

@@ -129,8 +129,6 @@ QtObject
                             return UM.Theme.getColor("main_window_header_button_background_inactive")
                         }
                     }
-
-                    Behavior on color { ColorAnimation { duration: 50 } }
                 }
             }