@@ -14,7 +14,7 @@ export component IconBtn inherits Rectangle {
1414 in-out property colorize <=> img.colorize;
1515 in-out property icon-size <=> img.width;
1616 in-out property icon-visible <=> img.visible;
17- in-out property icon-rotation-angle <=> img.rotation-angle ;
17+ in-out property icon-transform-rotation <=> img.transform-rotation ;
1818 in-out property mouse-cursor <=> touch.mouse-cursor;
1919 in-out property enabled-toucharea <=> touch.enabled;
2020 out property has-hover <=> touch.has-hover;
@@ -96,9 +96,9 @@ export component IconBtn inherits Rectangle {
9696 width : Theme.icon-size;
9797 height : self .width;
9898 colorize : Theme.icon-color;
99- rotation-angle : 0 ;
99+ transform-rotation : 0 ;
100100
101- animate rotation-angle {
101+ animate transform-rotation {
102102 duration : Theme.default-animate-duration;
103103 easing : ease-in-out;
104104 iteration-count : root .rotation-type == RotationType.Auto ? -1 : root .icon-rotation-iteration-count;
@@ -119,10 +119,10 @@ export component IconBtn inherits Rectangle {
119119 mouse-cursor : MouseCursor.pointer;
120120 clicked => {
121121 if (RotationType.Click == root .rotation-type) {
122- if (icon-rotation-angle == 0 ) {
123- icon-rotation-angle = 360deg ;
122+ if (icon-transform-rotation == 0 ) {
123+ icon-transform-rotation = 360deg ;
124124 } else {
125- icon-rotation-angle = 0deg ;
125+ icon-transform-rotation = 0deg ;
126126 }
127127 }
128128 if (gain-focus-when-clicked) {
0 commit comments