lunapaint / vscode-luna-paint

A raster image editor extension for VS Code
https://marketplace.visualstudio.com/items?itemName=Tyriar.luna-paint
282 stars 27 forks source link

Could not undo entry "Finish Rectangle" #64

Closed duianto closed 3 years ago

duianto commented 3 years ago

Undo breaks when trying to undo a new layer, that was added before a rectangle drawing had been finished.

Reproduction steps

Expected

The actions should be undone.

Observed

A message appears saying:

Could not undo entry "Finish Rectangle"

could_not_undo_finish_rectangle

System

Luna Paint 0.5.1 VSCode 1.56.2 Windows 10 Version 2004

Tyriar commented 3 years ago

Something off happens on delete instead of new layer as well