Commit 8368d876 authored by Alexander Stippich's avatar Alexander Stippich
Browse files

unify animations when showing/hiding items in the content view

parent e3864b15
......@@ -158,12 +158,6 @@ RowLayout {
Layout.fillHeight: true
Behavior on Layout.maximumWidth {
NumberAnimation {
duration: Kirigami.Units.shortDuration
}
}
onSwitchView: viewManager.openParentView(viewType, pageModel.viewMainTitle(viewType, ""), pageModel.viewImageUrl(viewType, ""))
}
......
......@@ -110,13 +110,15 @@ FocusScope {
Behavior on implicitWidth {
NumberAnimation {
duration: Kirigami.Units.shortDuration
easing.type: Easing.InOutQuad
duration: Kirigami.Units.longDuration
}
}
Behavior on width {
NumberAnimation {
duration: Kirigami.Units.shortDuration
easing.type: Easing.InOutQuad
duration: Kirigami.Units.longDuration
}
}
......
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