mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
homescreens/halcyon: Fix focus child connection
This commit is contained in:
parent
65129fe27d
commit
bd8de03230
1 changed files with 6 additions and 6 deletions
|
|
@ -43,9 +43,9 @@ Item {
|
|||
}
|
||||
|
||||
Connections {
|
||||
target: MobileShellState.HomeScreenControls
|
||||
target: WindowPlugin.WindowUtil
|
||||
|
||||
function onHomeScreenVisibleChanged(){
|
||||
function onAllWindowsMinimizedChanged(){
|
||||
if (WindowPlugin.WindowUtil.allWindowsMinimized) {
|
||||
swipeView.focusChild();
|
||||
}
|
||||
|
|
@ -118,10 +118,10 @@ Item {
|
|||
rightMargin: horizontalMargin
|
||||
|
||||
leftEdgeCallback: () => {
|
||||
swipeView.setCurrentIndex(0);
|
||||
swipeView.focusChild();
|
||||
currentIndex = -1;
|
||||
}
|
||||
swipeView.setCurrentIndex(0);
|
||||
swipeView.focusChild();
|
||||
currentIndex = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue