bgribble/mfp

Text objects should have a prompted edit that works in Operate

Closed this issue · 4 comments

This is basically just for supporting "scratchpad" labels on the mixer. Enabling a conf option on a text object should make it so that clicking the object in execute mode prompts for new text in the HUD and sets the text to that.

[@conf(clickchange=True)(
|
[label]

A-M1DOWN to change the text (so as not to interfere with normal M1DOWN selection clicks)

This works OK, but the HUD displays are annoying. Leaving open for a bit.

This is pretty close. Still TBD:

  • Sometimes (maybe on ENTER to edit?) the prompt is displayed twice
  • alt-click is not very intuitive

Another feature to add: If clickchange is set, show the widget with a box outline so it's obvious that it's editable. This will reduce the need for placeholder text.

I am medium happy with the above. The outline doesn't really look that great, and it's tough to distinguish it from a processor box, but the basic use case is handled. Closing this ticket.