This commit is contained in:
Vanessa 2023-10-24 10:42:04 +08:00
parent ae35acbb35
commit 621babd29d
9 changed files with 11 additions and 12 deletions

View file

@ -209,7 +209,7 @@ export const bindCardEvent = (options: {
fullscreen(options.element.querySelector(".card__main"),
options.element.querySelector('[data-type="fullscreen"]'));
resize(editor.protyle);
window.siyuan.storage[Constants.LOCAL_FLASHCARD].fullscreen = !window.siyuan.storage[Constants.LOCAL_FLASHCARD].fullscreen
window.siyuan.storage[Constants.LOCAL_FLASHCARD].fullscreen = !window.siyuan.storage[Constants.LOCAL_FLASHCARD].fullscreen;
setStorageVal(Constants.LOCAL_FLASHCARD, window.siyuan.storage[Constants.LOCAL_FLASHCARD]);
event.stopPropagation();
event.preventDefault();