Fix touch event fall-through in pull menu
This commit is contained in:
parent
41b5a91e75
commit
b595e99cd9
1 changed files with 9 additions and 4 deletions
|
@ -20,16 +20,21 @@
|
||||||
|
|
||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
|
|
||||||
Column {
|
MouseArea {
|
||||||
id: pullMenu
|
id: pullMenu
|
||||||
|
default property alias items: pullMenuColumn.children
|
||||||
|
|
||||||
width: parent.width / 4
|
width: parent.width / 4
|
||||||
height: parent.height
|
height: parent.height
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.left: parent.right
|
anchors.left: parent.right
|
||||||
|
|
||||||
Item { width: 1; height: 1 }
|
Column {
|
||||||
|
id: pullMenuColumn
|
||||||
|
|
||||||
spacing: (width - 72 * pgst.scalef) / 2
|
anchors.fill: parent
|
||||||
|
spacing: (width - 72 * pgst.scalef) / 2
|
||||||
|
|
||||||
|
Item { width: 1; height: 1 }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue