Updated notes to always be square

This commit is contained in:
Mitchell McCaffrey 2021-01-04 09:39:58 +11:00
parent 524a6d9aea
commit 30a1319298

View File

@ -26,7 +26,7 @@ function Note({
);
const noteWidth = map && (mapWidth / map.grid.size.x) * note.size;
const noteHeight = map && (mapHeight / map.grid.size.y) * note.size;
const noteHeight = noteWidth;
const notePadding = noteWidth / 10;
function handleDragStart(event) {