vishanurag / Canvas-Editor

This is a simple web project that is made with an aim to learn about canvas element of html. Now, this project is open to all of the amazing contributors.
https://vishanurag.github.io/Canvas-Editor/
MIT License
74 stars 314 forks source link

[BUG]: Eraser Tool Erases Grid Background #1124

Open AnushkaChouhan25 opened 3 weeks ago

AnushkaChouhan25 commented 3 weeks ago

Description

Description

The eraser tool currently removes the grid background along with the drawn content when used. This causes the grid to disappear in the areas where the eraser is applied, which is not the intended behavior.

Expected Behavior:

The eraser tool should only remove the drawings, annotations, or shapes while keeping the grid background intact.

Suggested Fix:

Adjust the eraser functionality to only target drawn elements, leaving the grid background unaffected.

image

Screenshots

No response

Any additional information?

No response

What browser are you seeing the problem on?

No response

Checklist

github-actions[bot] commented 3 weeks ago

👋 Thank you @AnushkaChouhan25 for raising an issue! We appreciate your effort in helping us improve. Our team will review it shortly. Stay tuned!