@@ -25,13 +25,11 @@ Item {
25 property string iconName
25 property string iconName
26 property color foregroundColor: "#000000"
26 property color foregroundColor: "#000000"
28− readonly property alias pressed: mouseArea.pressed
30 signal clicked();
28 signal clicked();
32 UbuntuShape {
30 UbuntuShape {
33 anchors.fill: parent
31 anchors.fill: parent
34− opacity: root.pressed ? 1 : 0
32+ opacity: mouseArea.pressed ? 1 : 0
35 Behavior on opacity {
33 Behavior on opacity {
36 UbuntuNumberAnimation {}
34 UbuntuNumberAnimation {}