Files
Folo/apps
Innei 582303fcbf fix(desktop): shortcut scope switching logic
- Replaced the use of `useShortcutScope` with `useConditionalHotkeyScope` in the Modal component for improved hotkey handling.
- Updated the `useSwitchHotkeyScope` hook to maintain the current active scopes using `useLayoutEffect`.
- Modified the SubviewLayout to conditionally enable the Escape key hotkey based on the active scope.

These changes streamline hotkey management and enhance user experience across modal and subview interactions.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-22 13:40:23 +08:00
..
2025-05-21 16:52:39 +08:00