ailon / markerjs2

Add image annotation to your web apps.
https://markerjs.com
Other
142 stars 39 forks source link

Undo and redo buttons are clickable even if nothing has changed #162

Open bennymeier opened 1 year ago

bennymeier commented 1 year ago

Hi,

the undo and redo buttons are clickable even if nothing has changed. But as I can see theres the undoRedoManager where you got a full overview if something has changed and can be undo. Same for the redo. image

Wouldn't be better if you do it like the trash can icon?

full-opacity: 0.4;
pointer-events: none;

like here? image

I don't mean to tease you, but I have a passion for UX design.

Many greetings Benny

ailon commented 1 year ago

Hi Benny,

I have a dejavu that I already tried to address this and hit some complication but I can't remember what it was :) I'll take another look.