This commit is contained in:
Vanessa 2022-12-08 20:53:11 +08:00
parent 1bcc8201f0
commit cb663740e1

View file

@ -448,6 +448,7 @@ export const globalShortcut = () => {
disableAnimation: true,
transparent: true,
});
getSelection().removeAllRanges();
if (isMac()) {
switchDialog.element.addEventListener("contextmenu", (event) => {
switchDialogEvent(event, switchDialog);