fix: fit view to content shortcut overrides typing the F letter everywhere

This commit is contained in:
Jan-Henrik Bruhn 2025-10-10 12:39:37 +02:00
parent ce0ee71193
commit df95a7c84c

View file

@ -167,6 +167,8 @@ export function useGlobalShortcuts(options: UseGlobalShortcutsOptions = {}) {
id: "fit-view", id: "fit-view",
description: "Fit View to Content", description: "Fit View to Content",
key: "f", key: "f",
ctrl: true,
shift: true,
handler: () => options.onFitView?.(), handler: () => options.onFitView?.(),
category: "View", category: "View",
enabled: !!options.onFitView, enabled: !!options.onFitView,