Description:
When using the Advanced Whiteboard in dark mode, the Eraser tool does not function as expected. Instead of removing drawn content, it simply draws over it with white — which stands out against the dark (black) background, making it act more like a white pen.
Steps to Reproduce:
1-Enable dark mode.
2-Navigate to the Whiteboard page.
3-Draw something using the Pen tool.
4-Switch to the Eraser tool and try to erase.
Observed Behavior:
-The eraser draws in white, leaving visible white marks on the black board background.
Expected Behavior:
-The eraser should remove the drawn content, revealing the original board background (black in dark mode).
-It should not behave like a drawing tool.
Suggested Fix:
-Update the eraser tool logic to actually clear pixels or canvas data instead of painting over with a color.
-Or make it dynamically adapt its "erase color" to match the canvas background (black in dark mode, white in light mode).
Description:
When using the Advanced Whiteboard in dark mode, the Eraser tool does not function as expected. Instead of removing drawn content, it simply draws over it with white — which stands out against the dark (black) background, making it act more like a white pen.
Steps to Reproduce:
1-Enable dark mode.
2-Navigate to the Whiteboard page.
3-Draw something using the Pen tool.
4-Switch to the Eraser tool and try to erase.
Observed Behavior:
-The eraser draws in white, leaving visible white marks on the black board background.
Expected Behavior:
-The eraser should remove the drawn content, revealing the original board background (black in dark mode).
-It should not behave like a drawing tool.
Suggested Fix:
-Update the eraser tool logic to actually clear pixels or canvas data instead of painting over with a color.
-Or make it dynamically adapt its "erase color" to match the canvas background (black in dark mode, white in light mode).