mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 01:34:29 +01:00
The footer of a toolbar made with New Toolbar looked up each command button's label on its own, which rebuilt the tool homes once per button on every render. `palette::button_texts` looks up all of a toolbar's buttons from one kept build, and `command_looks` uses it. docs/mcp.md now says which errors apply to `toolbar.addCommand` and which to both commands, and that `toolbar.removeCommand` answers with the unchanged list for a command the toolbar has no button for.