diff --git a/src/nostalgia/core/studio/TileSheetEditor.qml b/src/nostalgia/core/studio/TileSheetEditor.qml index 460e7918..c4f4632c 100644 --- a/src/nostalgia/core/studio/TileSheetEditor.qml +++ b/src/nostalgia/core/studio/TileSheetEditor.qml @@ -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()