Files
vectorcraft/crates
dotCooCoo a0c1a550ab Menus: a rebuild runs each command's check once
The menu model asked whether a command can run for every row that
names it, so the rows that share a command (Effect's dialogs, Window's
panels, the interface languages, the font sizes) ran the same check
over and over on each edit and selection change. In a document with
20 selected rectangles one rebuild asked 1,910 times about 1,191
commands; Effect's dialog check alone ran 118 times.

A rebuild now keeps each command's answer and reuses it for the tree's
rows, the catalog's rows and Envelope Distort's Make and Reset rows.
The answer depends on the command id and the app's state, not on the
row's params, so the states and reasons are unchanged.
2026-11-29 11:46:40 -08:00
..
2026-11-27 19:12:32 -08:00