rorywalsh / cabbage

Framework for developing audio plugins with the Csound programming language.
http://cabbageaudio.com
GNU General Public License v3.0
503 stars 35 forks source link

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

Closed brylie closed 2 years ago

brylie commented 2 years ago

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

rorywalsh commented 2 years ago

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.

brylie commented 2 years ago

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

rorywalsh commented 2 years ago

Got it 👍 Fix pushed to cmake branch