mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
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:
@@ -68,7 +68,6 @@ function endSelection() {
|
||||
Math.round(lastMovePos[1] / zoom) - imageDataToMove.height / 2);
|
||||
}
|
||||
else {
|
||||
console.log("incollo male");
|
||||
currentLayer.context.putImageData(
|
||||
imageDataToMove,
|
||||
copiedStartX,
|
||||
|
Reference in New Issue
Block a user