on xenial help sign in
Close the drawer but not the launcher when the bfb is tapped twice
commit81a0d20fe22127a4db32d098c6e78e3d7c6c868e authorDalton Durst <d@ltondur.st> dateMon 8 Apr 2019, 17:05 (8 years ago) parent1259b90
1 file changed+4−2
qml/Launcher/Launcher.qml+4−2
qml/Launcher/Launcher.qml+4−2
@@ -180,9 +180,9 @@ FocusScope {
180180 drawer.focusInput();
181181 }
182182 if (state === "drawer") {
183− switchToNextState("")
183+ switchToNextState("visible");
184184 } else {
185− switchToNextState("drawer")
185+ switchToNextState("drawer");
186186 }
187187 }
188188
@@ -606,10 +606,12 @@ FocusScope {
606606 target: panel
607607 x: -root.x // so we never go past panelWidth, even when teased by tutorial
608608 showCloseIcon: false
609+ focus: true
609610 }
610611 PropertyChanges {
611612 target: drawer
612613 anchors.rightMargin: 0
614+ focus: false
613615 }
614616 },
615617 State {