Animate HButton color changes
This commit is contained in:
		| @@ -46,12 +46,20 @@ Button { | |||||||
|         ) |         ) | ||||||
|         radius: circle ? height : 0 |         radius: circle ? height : 0 | ||||||
|  |  | ||||||
|  |         Behavior on color { | ||||||
|  |             ColorAnimation { duration: 60 } | ||||||
|  |         } | ||||||
|  |  | ||||||
|         Rectangle { |         Rectangle { | ||||||
|             id: buttonBackgroundOverlay |             id: buttonBackgroundOverlay | ||||||
|             anchors.fill: parent |             anchors.fill: parent | ||||||
|             radius: parent.radius |             radius: parent.radius | ||||||
|             color: "black" |             color: "black" | ||||||
|             opacity: 0 |             opacity: 0 | ||||||
|  |  | ||||||
|  |             Behavior on opacity { | ||||||
|  |                 NumberAnimation { duration: 60 } | ||||||
|  |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	