rorywalsh/cabbage

CTRL-Z in UI edit mode causes widget to slide left

Closed this issue · 3 comments

When making lots of mistakes in UI edit mode, it would be helpful to be able to use CTRL+Z to undo the previous action(s). However, CTRL-Z in the UI editor seems to slide the widget to the left:
Peek 2021-10-16 13-03

Adding an undo engine would be quite some work. Definitely something for future versions of Cabbage, but it would involve a rewrite of the current GUI editor. On the other hand, pressing Ctrl+Z shouldn't cause any widgets to move around.

I just checked here on MacOS and I don't see this behaviour. Could be unique to Linux. I'll check there and let you know.

Note that I had to de-select the widget by clicking the background. Then, ctrl+z caused the cha cha slide.

Got it 👍 Fix pushed to cmake branch