[nostalgia/core/studio] Add support for dragging cursor around tile sheet editor

This commit is contained in:
2019-12-05 23:38:51 -06:00
parent 38ae116356
commit 1edd322352
4 changed files with 47 additions and 24 deletions
+5
View File
@@ -17,7 +17,12 @@ Rectangle {
y: parent.height / 2 - tile.height / 2
color: '#000000'
function pixelAt(x, y) {
return tileGrid.childAt(x, y);
}
Grid {
id: tileGrid
width: tile.width
height: tile.height
rows: 8