Skip to content

Commit

Permalink
Fixed: [LVGL] White screen while coping font from one project to anot…
Browse files Browse the repository at this point in the history
…her #632
  • Loading branch information
mvladic committed Nov 14, 2024
1 parent 3c9e895 commit b29516d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/project-editor/features/font/font.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1737,7 +1737,10 @@ export class Font extends EezObject {
}

async loadLvglGlyphs(projectStore: ProjectStore) {
if (!this.lvglRanges && !this.lvglSymbols) {
if (
(!this.lvglRanges && !this.lvglSymbols) ||
!ProjectEditor.getProjectStore(this)
) {
return;
}

Expand Down

0 comments on commit b29516d

Please sign in to comment.