aboutsummaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.qml b/main.qml
index ddb19b21..c09f0c3c 100644
--- a/main.qml
+++ b/main.qml
@@ -759,7 +759,7 @@ ApplicationWindow {
PropertyChanges { target: resizeArea; visible: true }
PropertyChanges { target: titleBar; maximizeButtonVisible: true }
PropertyChanges { target: frameArea; blocked: false }
- PropertyChanges { target: titleBar; y: -titleBar.height }
+ PropertyChanges { target: titleBar; y: 0 }
PropertyChanges { target: titleBar; title: qsTr("Monero") + translationManager.emptyString }
}
]
@@ -814,8 +814,11 @@ ApplicationWindow {
height: 30
z: 1
hoverEnabled: true
+ // Uncomment to enable 'auto-hidden' titlebar
+ /*
onEntered: if(!blocked) titleBar.y = 0
onExited: if(!blocked) titleBar.y = -titleBar.height
+ */
propagateComposedEvents: true
onPressed: mouse.accepted = false
onReleased: mouse.accepted = false