From c2c1260da0f77c5c977fa23745c10dfa48bce467 Mon Sep 17 00:00:00 2001 From: selsta Date: Wed, 19 Dec 2018 22:10:54 +0100 Subject: [PATCH] main: disable resize bar if custom decorations are off --- main.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.qml b/main.qml index 84f7d38d..4df35ede 100644 --- a/main.qml +++ b/main.qml @@ -1564,6 +1564,7 @@ ApplicationWindow { property int minHeight: 400 MouseArea { id: resizeArea + enabled: persistentSettings.customDecorations hoverEnabled: true anchors.right: parent.right anchors.bottom: parent.bottom @@ -1577,6 +1578,7 @@ ApplicationWindow { Image { anchors.centerIn: parent + visible: persistentSettings.customDecorations source: parent.containsMouse || parent.pressed ? "images/resizeHovered.png" : "images/resize.png" }