simplefog icon indicating copy to clipboard operation
simplefog copied to clipboard

[Bug] Undo sometimes undoes multiple changes

Open Kosyne opened this issue 2 years ago • 1 comments

When testing and drawing multiple strokes, pressing CTRL+Z somestimes undoes more than just the last stroke. This may be placebo, but this SEEMED to happen more often when I drew longer strokes (sometimes leading to a separate bug where if you draw off of canvas and it scrolls down, even if you let go of left-click, it still draws until you press left click again).

Firefox on Windows

Kosyne avatar Sep 06 '22 00:09 Kosyne

I haven't fully investigated this, but my first guess is that it's related to debouncing the CTRL+Z so that each press is only registered once. Thanks for reporting.

UranusBytes avatar Sep 11 '22 11:09 UranusBytes