diff --git a/.gitignore b/.gitignore index 2fced0a71..0649c0c3e 100644 --- a/.gitignore +++ b/.gitignore @@ -48,3 +48,6 @@ vue-stream-markdown/ # Agent scratch space (reviews, test artifacts) scratch/ + +# OpenCode +.opencode/ diff --git a/packages/core/src/text/fonts.ts b/packages/core/src/text/fonts.ts index e08728203..cada408ee 100644 --- a/packages/core/src/text/fonts.ts +++ b/packages/core/src/text/fonts.ts @@ -528,6 +528,7 @@ export class FontManager { options: FindLocalFontOptions = {} ): Promise { if (!IS_BROWSER || !window.queryLocalFonts) return null + if (this.localFontAccessState !== 'granted') return null try { const fonts = await window.queryLocalFonts() const match = chooseLocalFontMatch(fonts, family, style) diff --git a/src/components/properties/FillSection.vue b/src/components/properties/FillSection.vue index c7c978dc8..b40e359fc 100644 --- a/src/components/properties/FillSection.vue +++ b/src/components/properties/FillSection.vue @@ -1,5 +1,6 @@