mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 03:42:05 +02:00
main: disable resize bar if custom decorations are off
This commit is contained in:
parent
bac833c1dd
commit
c2c1260da0
2
main.qml
2
main.qml
@ -1564,6 +1564,7 @@ ApplicationWindow {
|
|||||||
property int minHeight: 400
|
property int minHeight: 400
|
||||||
MouseArea {
|
MouseArea {
|
||||||
id: resizeArea
|
id: resizeArea
|
||||||
|
enabled: persistentSettings.customDecorations
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
@ -1577,6 +1578,7 @@ ApplicationWindow {
|
|||||||
|
|
||||||
Image {
|
Image {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
visible: persistentSettings.customDecorations
|
||||||
source: parent.containsMouse || parent.pressed ? "images/resizeHovered.png" :
|
source: parent.containsMouse || parent.pressed ? "images/resizeHovered.png" :
|
||||||
"images/resize.png"
|
"images/resize.png"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user