Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
added another png for drawig canvas (#75)
Browse files Browse the repository at this point in the history
Co-authored-by: Jobin-S <[email protected]>
  • Loading branch information
Jobin-S and Jobin-S authored Jul 30, 2020
1 parent 78adafb commit 6a27757
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion css/features.css
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ body.dark .dark-mode-toggle .sun {
}

#diagram-canvas {
cursor: url('../images/favicon-32x32.png'), crosshair;
cursor: url('../images/favicon-32x32-3.png'), crosshair;
}

.contributor-profile {
Expand Down
Binary file added images/favicon-32x32-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion js/utils/draw.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function drawPoint(x, y) {
return [eventX - canvasRect.left, eventY - canvasRect.top];
}

return [eventX - canvasRect.left, eventY - canvasRect.top + 32];
return [eventX - canvasRect.left, eventY - canvasRect.top ];
}

if (lastX && lastY && (x !== lastX || y !== lastY)) {
Expand Down

0 comments on commit 6a27757

Please sign in to comment.