forked from Shinonome/dots-hyprland
settings: remove unnecessary page check for anim
This commit is contained in:
@@ -224,10 +224,8 @@ ApplicationWindow {
|
||||
Connections {
|
||||
target: root
|
||||
function onCurrentPageChanged() {
|
||||
if (pageLoader.sourceComponent !== root.pages[root.currentPage].component) {
|
||||
switchAnim.complete();
|
||||
switchAnim.start();
|
||||
}
|
||||
switchAnim.complete();
|
||||
switchAnim.start();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user