mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-26 12:21:08 +01:00
- A result's reason is the status line a pick of its dimmed menu item gives, with the result's name in place of the command id: "command `Object › Ungroup` is not available right now: nothing selected". `shortcut_editor::dimmed` builds it for both, so the hover reason and the pick's status line read alike. The reason is kept in English and translated when it is shown. - The engine's check of a dimmed engine command runs once: the new `menus::why_off` gives `menus::enabled`'s answer with the engine's reason. `menu_target_now` and the palette's effect picks use it too. - The Recent Commands list beside the search field draws a pick that can't run now dimmed, disabled for screen readers with the reason as its description, and with the reason on hover. - The palette drops its answers when it closes, so opening it again with the keyboard asks again. - A frame with a click asks again on that frame only: the click is no longer part of the key, so the next frame keeps the answers.