Skip to content

Commit 546c510

Browse files
committed
fix(ui): command button tooltip now hides on Chrome after issuing OCR command with a click
1 parent 7232a8d commit 546c510

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/web/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ export const App: VoidComponent = () => {
572572
chunks.setSelectingInTranslation(selectingInChunkTranslation ?? false);
573573
});
574574

575-
document.addEventListener("blur", globalTooltip.hide);
575+
window.addEventListener("blur", globalTooltip.hide);
576576

577577
// ==============================================================================================
578578

0 commit comments

Comments
 (0)