[nostalgia/core/studio] Fix drag left click not to update tile sheet
This commit is contained in:
parent
e65e4e44cb
commit
5cc96228f4
@ -105,7 +105,12 @@ Rectangle {
|
||||
}
|
||||
}
|
||||
|
||||
onPositionChanged: sheetData.updatePixel(pixelAt(mouseX, mouseY))
|
||||
onPositionChanged: {
|
||||
if (mouseArea.pressedButtons & Qt.LeftButton && !contextMenu.visible) {
|
||||
sheetData.updatePixel(pixelAt(mouseX, mouseY));
|
||||
}
|
||||
}
|
||||
|
||||
onReleased: sheetData.endCmd()
|
||||
onCanceled: sheetData.endCmd()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user