@@ -25,13 +25,11 @@ Item {
2525 property string iconName
2626 property color foregroundColor: "#000000"
2727
28− readonly property alias pressed: mouseArea.pressed
29−
3028 signal clicked();
3129
3230 UbuntuShape {
3331 anchors.fill: parent
34− opacity: root.pressed ? 1 : 0
32+ opacity: mouseArea.pressed ? 1 : 0
3533 Behavior on opacity {
3634 UbuntuNumberAnimation {}
3735 }