on xenial help sign in
fix transitions
796909aMichael Zanetti
Launcher/LauncherPanel.qml+2−19
@@ -154,9 +154,8 @@ Item {
154 when: dragging
154 when: dragging
155 PropertyChanges {
155 PropertyChanges {
156 target: launcherDelegate
156 target: launcherDelegate
157− angle: root.inverted ? -80 : 80
158 offset: effectiveHeight / 2
157 offset: effectiveHeight / 2
159− height: effectiveHeight
158+ height: units.gu(1)
160 itemOpacity: 0
159 itemOpacity: 0
161 }
160 }
162 },
161 },
@@ -175,24 +174,8 @@ Item {
175 Transition {
174 Transition {
176 from: "*"
175 from: "*"
177 to: "*"
176 to: "*"
178− NumberAnimation { properties: "height,itemOpacity"; duration: 150 }
177+ NumberAnimation { properties: "angle,height,itemOpacity"; duration: 150 }
179− },
180− Transition {
181− from: "dragging"
182− to: "*"
183− NumberAnimation { properties: "itemOpacity"; duration: 1500 }
184− },
185− Transition {
186− from: ""
187− to: "expanded"
188− NumberAnimation { properties: "angle"; duration: 150 }
189− },
190− Transition {
191− from: "expanded"
192− to: ""
193− NumberAnimation { properties: "angle"; duration: 150 }
194 }
178 }
195−
196 ]
179 ]
197 }
180 }
198
181