mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-11-26 07:42:57 +03:00
Option+S never switched between page and edgeless on the US macOS layout. The guard added for Polish input skipped every Alt event whose key is a non-ASCII character, and Option+S produces 'ß' there, so the shortcut could not fire at all. Only skip the shortcut when the key event targets an editable element, where the character is text input. Elsewhere there is nothing to type and the shortcut runs. fix #15232