@@ -23,15 +23,9 @@ import "../Components/PanelState"
2323MouseArea {
2424 id: root
2525
26− // we either fill the target (for mouse)...
27− anchors.fill: !touchMode ? target : undefined
26+ anchors.fill: target
2827 anchors.margins: -borderThickness
2928
30− // ... or put it on top for touch controls
31− anchors.centerIn: touchMode ? target : undefined
32− width: touchMode ? target.width - borderThickness/2 : undefined
33− height: touchMode ? target.height - borderThickness/2 : undefined
34−
3529 hoverEnabled: target && !target.maximized // don't grab the resize under the panel
3630
3731 property var windowStateStorage: WindowStateStorage
@@ -49,7 +43,6 @@ MouseArea {
4943 property int screenWidth: 0
5044 property int screenHeight: 0
5145 property int leftMargin: 0
52− property bool touchMode: false
5346
5447 QtObject {
5548 id: priv