Offset sliding panel to where finger is

This commit is contained in:
Devin Lin 2020-08-28 22:01:51 -04:00
parent e6d041f90f
commit 392ed46c55

View file

@ -278,6 +278,8 @@ Item {
openThreshold: units.gridUnit * 2
headerHeight: root.height
offset: quickSettingsParent.height
onClosed: quickSettings.closed()
contentItem: GridLayout {
@ -288,6 +290,7 @@ Item {
columns: slidingPanel.wideScreen ? 2 : 1
rows: slidingPanel.wideScreen ? 1 : 2
DrawerBackground {
id: quickSettingsParent
//anchors.fill: parent