mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-08 20:55:16 +00:00
NSectionEditor: Easier to access right click to move widgets around
This commit is contained in:
@@ -233,7 +233,7 @@ NBox {
|
|||||||
acceptedButtons: Qt.RightButton
|
acceptedButtons: Qt.RightButton
|
||||||
z: -1 // Below the buttons but above background
|
z: -1 // Below the buttons but above background
|
||||||
|
|
||||||
onClicked: mouse => {
|
onPressed: mouse => {
|
||||||
if (mouse.button === Qt.RightButton) {
|
if (mouse.button === Qt.RightButton) {
|
||||||
// Check if click is not on the buttons area
|
// Check if click is not on the buttons area
|
||||||
const localX = mouse.x
|
const localX = mouse.x
|
||||||
|
|||||||
Reference in New Issue
Block a user