Fixed colour picker bug

When the user changed a selected colour, the stroke colour became one of the two checkerboard colours.
This commit is contained in:
unsettledgames
2020-06-16 16:04:36 +02:00
parent 970fe56674
commit 8743bd8549
4 changed files with 17 additions and 10 deletions

View File

@@ -68,7 +68,6 @@ function endSelection() {
Math.round(lastMovePos[1] / zoom) - imageDataToMove.height / 2);
}
else {
console.log("incollo male");
currentLayer.context.putImageData(
imageDataToMove,
copiedStartX,