controlp5 icon indicating copy to clipboard operation
controlp5 copied to clipboard

saveProperties() key commands also enable dragging of elements

Open timrolls opened this issue 7 years ago • 0 comments

Saving and loading JSON for controller properties is broken when using saveProperties()/loadProperties() - red console error "ignoring".

Using the key commands ALT-SHIFT-S / ALT-SHIFT-L does work, however ALT also enables dragging of elements. It's required to use SHIFT-H to turn it off again. If you're unaware this is happening, attempts to interact with controllers will actually move them.

I've tried using setMoveable(), and also overriding the ALT key. Is there a way to completely disable dragging (without locking interaction on objects), or to disable/override the ALT key command in the library? I'd rather not start a fork.

timrolls avatar Dec 11 '17 20:12 timrolls