feat(StatusFlatRoundButton): support icon rotation

This commit is contained in:
Pascal Precht 2021-06-07 13:02:55 +02:00 committed by Pascal Precht
parent a910d0f2a0
commit 3a7a338da8
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ Rectangle {
property StatusIconSettings icon: StatusIconSettings {
width: 23
height: 23
rotation: 0
color: {
switch(statusFlatRoundButton.type) {
@ -107,6 +108,7 @@ Rectangle {
visible: !loading
icon: statusFlatRoundButton.icon.name
rotation: statusFlatRoundButton.icon.rotation
width: statusFlatRoundButton.icon.width
height: statusFlatRoundButton.icon.height