Skip to content

Commit 26a2066

Browse files
committed
fix custom font ejection
1 parent 793f05d commit 26a2066

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/App.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ export default {
349349
async loadLocalFont(file) {
350350
if (!file) {
351351
// reset to default font after ejecting local font
352+
this.customFont = null;
352353
this.reset();
353354
return;
354355
}

0 commit comments

Comments
 (0)