Files
vectorcraft/crates/engine
dotCooCoo f05ec9a090 Scripts: a palette event finds its control by its place, and a run at its dialog idles
- script.palette.event's params text lists `control` and `value` with
  their notes in parentheses, so the description reads as a params
  object again.
- A palette handler's run gets the place of the clicked or changed
  control from the host and gives the event to the control at that place
  in the palette as it is then. A getter read while the palette is
  described can add a control before it; the event no longer goes to the
  control that took its index. An event whose place holds no control is
  an error.
- While a run waits at its ScriptUI dialog, the app asks for no frames;
  the pass that gives the dialog's event asks for the next one, and so
  does a frame that handles a control request while a run goes on, such
  as `ui.dialog.confirm` answering the dialog.
2026-11-22 21:36:00 -08:00
..