1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-25 10:47:19 +01:00

main: disable resize bar if custom decorations are off

This commit is contained in:
selsta 2018-12-19 22:10:54 +01:00
parent bac833c1dd
commit c2c1260da0
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E

View File

@ -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"
}