mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 16:17:25 -04:00
TitleBar: maximize window when title bar is double clicked
This commit is contained in:
@@ -382,6 +382,7 @@ Rectangle {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
propagateComposedEvents: true
|
propagateComposedEvents: true
|
||||||
onPressed: previousPosition = globalCursor.getPosition()
|
onPressed: previousPosition = globalCursor.getPosition()
|
||||||
|
onDoubleClicked: root.maximizeClicked()
|
||||||
onPositionChanged: {
|
onPositionChanged: {
|
||||||
if (pressedButtons == Qt.LeftButton) {
|
if (pressedButtons == Qt.LeftButton) {
|
||||||
var pos = globalCursor.getPosition()
|
var pos = globalCursor.getPosition()
|
||||||
|
|||||||
Reference in New Issue
Block a user