mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
settings: remove unnecessary page check for anim
This commit is contained in:
@@ -224,10 +224,8 @@ ApplicationWindow {
|
|||||||
Connections {
|
Connections {
|
||||||
target: root
|
target: root
|
||||||
function onCurrentPageChanged() {
|
function onCurrentPageChanged() {
|
||||||
if (pageLoader.sourceComponent !== root.pages[root.currentPage].component) {
|
switchAnim.complete();
|
||||||
switchAnim.complete();
|
switchAnim.start();
|
||||||
switchAnim.start();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user