Commit 392ed46c authored by Devin Lin's avatar Devin Lin 🎨
Browse files

Offset sliding panel to where finger is

parent e6d041f9
...@@ -278,6 +278,8 @@ Item { ...@@ -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 { ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment