lichess-org / chessground

Mobile/Web chess UI for lichess.org
https://lichess.org
GNU General Public License v3.0
1.02k stars 262 forks source link

The UI can be better when drawing over an existing shape #233

Open hb20007 opened 2 years ago

hb20007 commented 2 years ago

Drawing over an existing arrow is a common way to remove the arrow while keeping all the other shapes.

Let's say I want to remove the long green vertical arrow in the example below:

Lichess screenshot with shapes

When I try to draw another arrow over it, this is what I see (2 overlapping arrows):

Lichess screenshot showing 2 overlapping arrows

However, it would be better if I saw this (same arrow with a lower opacity, showing that it will be removed):

[Lichess screenshot showing the arrow with lower opacity

Also, when holding the right click button over an existing circle, it would be great to have the circle shown with a lower opacity, indicating that it will be removed. Currently, there is no animation.