Skip to content

Commit

Permalink
chore: merge develop into main (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
maharshivpatel authored Sep 4, 2024
2 parents 9b6dc75 + 4f6e6c6 commit 1a81c1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function useAttachKeyBindings() {
const handleKeyDown = async (e) => {
MainStore.isAltKey = e.altKey;
MainStore.isShiftKey = e.shiftKey;
if (e.target !== document.body || MainStore.openModal) return;
if (!e.target.classList.contains("print-format-container") || MainStore.openModal) return;
if (e.ctrlKey || e.metaKey) {
if (["a", "A"].indexOf(e.key) != -1) {
ElementStore.Elements.forEach((page) => {
Expand Down

0 comments on commit 1a81c1c

Please sign in to comment.