mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 21:12:57 -05:00
A getter read after a button while the palette was described could disable or hide the button, or a group above it, after the description recorded it as enabled, and the click still ran its handler. - Palette states are read without running a getter, once every description getter (the default and cancel elements included) has run, and a state that a getter gives counts as off. Dialogs keep reading the states through their getters. - Delivering a palette event reads the states of the control and the groups above it again the same way, and checks that the palette still holds the control, before the handler runs. - docs/mcp.md, the progress line and script.palette.event's params text describe the rule.