We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdb175a commit c3239a3Copy full SHA for c3239a3
src/doodle/canvas.js
@@ -69,7 +69,7 @@ const Canvas = ({
69
70
const tagToColor = tag => {
71
if (tag === 'none') {
72
- // this is an untagged (in progress) doodle
+ // this is an unlabelled (in progress) doodle
73
return '#000000';
74
}
75
const tagNum = parseInt(tag.substring(1), 10) + 1;
@@ -93,7 +93,7 @@ const Canvas = ({
93
xPos > 0 &&
94
xPos < boundingBox.width &&
95
yPos > 0 &&
96
- yPos > boundingBox.height
+ yPos < boundingBox.height
97
) {
98
// get the color of the pixel clicked ony
99
const hitColor = hitCtx.getImageData(xPos, yPos, 1, 1).data;
0 commit comments