Commit b53d1a82 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

Remove custom view remove transition now that it's part of GridView itself

parent 2dcc5e25
......@@ -73,21 +73,6 @@ KCM.GridViewKCM {
}
}
view.remove: Transition {
ParallelAnimation {
NumberAnimation { property: "scale"; to: 0.5; duration: Kirigami.Units.longDuration }
NumberAnimation { property: "opacity"; to: 0.0; duration: Kirigami.Units.longDuration }
}
}
view.removeDisplaced: Transition {
SequentialAnimation {
// wait for the "remove" animation to finish
PauseAnimation { duration: Kirigami.Units.longDuration }
NumberAnimation { properties: "x,y"; duration: Kirigami.Units.longDuration }
}
}
view.delegate: KCM.GridDelegate {
id: delegate
......
......@@ -44,21 +44,6 @@ KCM.GridViewKCM {
onDropped: kcm.installThemeFromFile(drop.urls[0])
}
view.remove: Transition {
ParallelAnimation {
NumberAnimation { property: "scale"; to: 0.5; duration: Kirigami.Units.longDuration }
NumberAnimation { property: "opacity"; to: 0.0; duration: Kirigami.Units.longDuration }
}
}
view.removeDisplaced: Transition {
SequentialAnimation {
// wait for the "remove" animation to finish
PauseAnimation { duration: Kirigami.Units.longDuration }
NumberAnimation { properties: "x,y"; duration: Kirigami.Units.longDuration }
}
}
view.delegate: KCM.GridDelegate {
id: delegate
......
......@@ -46,21 +46,6 @@ KCM.GridViewKCM {
onDropped: kcm.installThemeFromFile(drop.urls[0])
}
view.remove: Transition {
ParallelAnimation {
NumberAnimation { property: "scale"; to: 0.5; duration: Kirigami.Units.longDuration }
NumberAnimation { property: "opacity"; to: 0.0; duration: Kirigami.Units.longDuration }
}
}
view.removeDisplaced: Transition {
SequentialAnimation {
// wait for the "remove" animation to finish
PauseAnimation { duration: Kirigami.Units.longDuration }
NumberAnimation { properties: "x,y"; duration: Kirigami.Units.longDuration }
}
}
view.delegate: KCM.GridDelegate {
id: delegate
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment