Changeset View
Changeset View
Standalone View
Standalone View
toolboxes/desktoptoolbox/contents/ui/ToolBoxButton.qml
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Line(s) | 48 | Behavior on opacity { | |||
---|---|---|---|---|---|
49 | OpacityAnimator { | 49 | OpacityAnimator { | ||
50 | duration: units.longDuration | 50 | duration: units.longDuration | ||
51 | easing.type: Easing.InOutQuad | 51 | easing.type: Easing.InOutQuad | ||
52 | } | 52 | } | ||
53 | enabled: visible | 53 | enabled: visible | ||
54 | } | 54 | } | ||
55 | Behavior on rotation { | 55 | Behavior on rotation { | ||
56 | NumberAnimation { | 56 | NumberAnimation { | ||
57 | duration: units.shortDuration * 3; | 57 | duration: units.shortDuration; | ||
58 | easing.type: Easing.InOutExpo; | 58 | easing.type: Easing.InOutExpo; | ||
59 | } | 59 | } | ||
60 | enabled: visible | 60 | enabled: visible | ||
61 | } | 61 | } | ||
62 | Behavior on x { | 62 | Behavior on x { | ||
63 | NumberAnimation { | 63 | NumberAnimation { | ||
64 | duration: units.shortDuration * 3; | 64 | duration: units.shortDuration; | ||
65 | easing.type: Easing.InOutExpo; | 65 | easing.type: Easing.InOutExpo; | ||
66 | } | 66 | } | ||
67 | enabled: visible | 67 | enabled: visible | ||
68 | 68 | | |||
69 | } | 69 | } | ||
70 | Behavior on y { | 70 | Behavior on y { | ||
71 | NumberAnimation { | 71 | NumberAnimation { | ||
72 | duration: units.shortDuration * 3; | 72 | duration: units.shortDuration; | ||
73 | easing.type: Easing.InOutExpo; | 73 | easing.type: Easing.InOutExpo; | ||
74 | } | 74 | } | ||
75 | enabled: visible | 75 | enabled: visible | ||
76 | } | 76 | } | ||
77 | 77 | | |||
78 | width: buttonLayout.width | 78 | width: buttonLayout.width | ||
79 | height: buttonLayout.height | 79 | height: buttonLayout.height | ||
80 | 80 | | |||
▲ Show 20 Lines • Show All 156 Lines • Show Last 20 Lines |