on xenial help sign in
Close the drawer but not the launcher when the bfb is tapped twice
81a0d20Dalton Durst
qml/Launcher/Launcher.qml+4−2
@@ -180,9 +180,9 @@ FocusScope {
180 drawer.focusInput();
180 drawer.focusInput();
181 }
181 }
182 if (state === "drawer") {
182 if (state === "drawer") {
183− switchToNextState("")
183+ switchToNextState("visible");
184 } else {
184 } else {
185− switchToNextState("drawer")
185+ switchToNextState("drawer");
186 }
186 }
187 }
187 }
188
188
@@ -606,10 +606,12 @@ FocusScope {
606 target: panel
606 target: panel
607 x: -root.x // so we never go past panelWidth, even when teased by tutorial
607 x: -root.x // so we never go past panelWidth, even when teased by tutorial
608 showCloseIcon: false
608 showCloseIcon: false
609+ focus: true
609 }
610 }
610 PropertyChanges {
611 PropertyChanges {
611 target: drawer
612 target: drawer
612 anchors.rightMargin: 0
613 anchors.rightMargin: 0
614+ focus: false
613 }
615 }
614 },
616 },
615 State {
617 State {