Skip to content

Commit

Permalink
Merge pull request #71 from Apurv7777/eraser-fix
Browse files Browse the repository at this point in the history
[GSSoC'24] Eraser Fix
  • Loading branch information
dhruvpatidar359 authored Jun 1, 2024
2 parents c976d39 + 1bcff20 commit b11f393
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/Canvas.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ const Canvas = () => {

} else if (tool === "eraser") {

document.body.style.cursor = `url('eraser.svg'), auto`;
document.body.style.cursor = `url('eraser.png'), auto`;

} else {

Expand Down Expand Up @@ -860,4 +860,4 @@ const Canvas = () => {

)
}
export default Canvas
export default Canvas
Binary file added public/eraser.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion public/eraser.svg

This file was deleted.

0 comments on commit b11f393

Please sign in to comment.