Changing mouse cursor shape would be necessary for dotting-genai, so I did a simple work related to it.
Changes
Change mouse cursor based on the current selected brush mode.
I thought it would be okay to change cursor only when the mouse moves inside the pixel index. So the relevant part is implemented inside the onMouseMove function.
Cursor shapes are based on icons in the figma (Genai).
Next up?
Now In dotting, color previews are possible when hover. so I didn't implement color previews that follow the cursor, but I think it would be good to discuss it later.
If there's a better way, please leave it in the comments and fix it. Thanks!
We will merge this PR since this is needed in dotting-genai. However, the issue(#19) will not be closed since there are parts that should be covered more.
Changes
onMouseMove
function.Next up?
ScreenShot