mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 08:17:59 +00:00
Merge pull request #3578
64dd55a
TitleBar: maximize window when title bar is double clicked (rating89us)
This commit is contained in:
commit
453388f744
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue