mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 02:35:37 +01:00
CI failed `the_font_menu_preview_reads_the_menus_when_it_ends`: with the state key holding the revision an interaction began from, the key no longer changed when the font menu's preview began, so the menus were not read then, though commands that check for an open interaction change state at that point and the menu stays open while it previews. The key now also holds whether an interaction that the active tool did not begin is open. A tool's drag still keeps the key as it begins; a dialog's, a panel's or the font menu's preview changes it as it begins and as it ends. `Interaction::by_tool` reads the flag for the UI crate.