mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
Offset sliding panel to where finger is
This commit is contained in:
parent
e6d041f90f
commit
392ed46c55
1 changed files with 3 additions and 0 deletions
|
|
@ -278,6 +278,8 @@ Item {
|
||||||
openThreshold: units.gridUnit * 2
|
openThreshold: units.gridUnit * 2
|
||||||
headerHeight: root.height
|
headerHeight: root.height
|
||||||
|
|
||||||
|
offset: quickSettingsParent.height
|
||||||
|
|
||||||
onClosed: quickSettings.closed()
|
onClosed: quickSettings.closed()
|
||||||
|
|
||||||
contentItem: GridLayout {
|
contentItem: GridLayout {
|
||||||
|
|
@ -288,6 +290,7 @@ Item {
|
||||||
|
|
||||||
columns: slidingPanel.wideScreen ? 2 : 1
|
columns: slidingPanel.wideScreen ? 2 : 1
|
||||||
rows: slidingPanel.wideScreen ? 1 : 2
|
rows: slidingPanel.wideScreen ? 1 : 2
|
||||||
|
|
||||||
DrawerBackground {
|
DrawerBackground {
|
||||||
id: quickSettingsParent
|
id: quickSettingsParent
|
||||||
//anchors.fill: parent
|
//anchors.fill: parent
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue