mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-20 01:21:48 +01:00
Keymap::shown_chord ran a lookup for each single-press binding of the command, and Board::resolve calls it for every command it resolves, so each frame repeated those lookups for every command row, tool and button. The keymap works out each command's shown chord when it is built and whenever its bindings change, and shown_chord reads the table. The lookup and the table share one ranking (Keymap::winners), which replaces the separate press_runs copy of it.