Open History to see the last commit
1import type { KeybindingCommand } from "@t3tools/contracts";
2
3import { isContextMenuOpen } from "../contextMenuFallback";
4
5export function isRightPanelShortcutBlockedByContextMenu(command: KeybindingCommand | null) {
6 return (command === "rightPanel.close" || command === "rightPanel.toggle") && isContextMenuOpen();
7}