mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 11:27:25 -04:00
Merge pull request #1848
c2c1260 main: disable resize bar if custom decorations are off (selsta)
This commit is contained in:
2
main.qml
2
main.qml
@@ -1572,6 +1572,7 @@ ApplicationWindow {
|
||||
property int minHeight: 400
|
||||
MouseArea {
|
||||
id: resizeArea
|
||||
enabled: persistentSettings.customDecorations
|
||||
hoverEnabled: true
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
@@ -1585,6 +1586,7 @@ ApplicationWindow {
|
||||
|
||||
Image {
|
||||
anchors.centerIn: parent
|
||||
visible: persistentSettings.customDecorations
|
||||
source: parent.containsMouse || parent.pressed ? "images/resizeHovered.png" :
|
||||
"images/resize.png"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user