mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Force button navigation in convergence mode
Load the button-based NavigationPanel when convergence mode is enabled, regardless of the gesture panel preference. Gesture-only navigation is incompatible with mouse and keyboard input.
This commit is contained in:
parent
59ec6af0db
commit
60163ee15e
1 changed files with 2 additions and 1 deletions
|
|
@ -213,9 +213,10 @@ ContainmentItem {
|
|||
}
|
||||
|
||||
// load appropriate system navigation component
|
||||
// In convergence mode, always use the button navigation panel (gesture-only mode is hostile to mouse/keyboard)
|
||||
Loader {
|
||||
anchors.fill: parent
|
||||
sourceComponent: ShellSettings.Settings.navigationPanelEnabled ? navigationPanelComponent : gesturePanelComponent
|
||||
sourceComponent: (ShellSettings.Settings.navigationPanelEnabled || ShellSettings.Settings.convergenceModeEnabled) ? navigationPanelComponent : gesturePanelComponent
|
||||
}
|
||||
|
||||
state: MobileShellState.ShellDBusClient.panelState
|
||||
|
|
|
|||
Loading…
Reference in a new issue