Added sortable palette (basic mode)

Started advanced palette block
This commit is contained in:
unsettledgames
2021-01-03 23:59:11 +01:00
parent 47b99bb430
commit 5ab5ceb6b0
10 changed files with 1415 additions and 35 deletions

View File

@ -260,4 +260,11 @@ function getPixelPosition(index) {
let y = Math.floor(linearIndex / layers[0].canvasSize[0]);
return [Math.ceil(x), Math.ceil(y)];
}
/** Sets isDragging to false, used when the user interacts with sortable lists
*
*/
function makeIsDraggingFalse(event) {
dragging = false;
}