Files
Stirling-PDF/frontend/src/core/hooks/useViewerKeyCommand.ts
T
Matheus SaitoandGitHub 212f12a81f Added back ctrl+r as rotate if on desktop (#5982) (#5993)
Fix #5982

Behaviour of ctrl+r altered to support rotate on desktop, while the web
version continue to use refresh as default.
2026-04-01 11:48:53 +01:00

4 lines
179 B
TypeScript

// Default implementation for non-desktop environments (overridden in desktop)
export function useViewerKeyCommand(): (event: KeyboardEvent) => boolean {
return () => false;
}