mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
Shift+Enter in a panel or Control bar field ended its editing, as Enter does. The reference app's default keyboard shortcuts list "Apply value and keep text box active" under Use panels and "Apply a value and keep focus in edit field" under Transform panel, both Shift+Enter on Windows and Shift+Return on macOS. - A focused single-line field of the shared widgets (num_field, mixed_field, plain_field, range_field, spin_field, spin_field_auto, spin_plain, text_field, exact_text_field, opt_field and hex_field) takes Shift+Enter before its text box reads it, applies the text as Enter does and keeps the focus. In the next frame it shows the value as it now is, all selected, so typing replaces it. - A text box of several lines keeps Shift+Enter as a line break. - While a dialog is open, Shift+Enter applies the field's value and confirms the dialog, as before. The app sets widgets::set_dialog_open at the start of each frame. Docs: docs/target-app-parity.md.