diff --git "a/content/Chinesisch lernen f\303\274r die Sinologie, Band 1/.apkg-spec.yaml" "b/content/Chinesisch lernen f\303\274r die Sinologie, Band 1/.apkg-spec.yaml" index 47930c28c4e131d7daf3d91f04d0cfa6c3f2e8fe..78c064e566465501a600ec36e0a60130b9edcec9 100644 --- "a/content/Chinesisch lernen f\303\274r die Sinologie, Band 1/.apkg-spec.yaml" +++ "b/content/Chinesisch lernen f\303\274r die Sinologie, Band 1/.apkg-spec.yaml" @@ -5,7 +5,7 @@ templates: content: - import_csv: - content_version: 2024-02-20 18:30:00+00:00 + content_version: 2024-02-20 18:33:00+00:00 note_type: Vokabeln file_patterns: - 'Vokabeln/*.csv' @@ -20,7 +20,7 @@ content: - Beispiele tags: [] - import_csv: - content_version: 2024-02-20 18:30:00+00:00 + content_version: 2024-02-20 18:33:00+00:00 note_type: Vokabeln file_patterns: - 'Vokabeln (Strichnamen)/*.csv' @@ -35,7 +35,7 @@ content: tags: [] - import_csv: note_type: Vokabeln - content_version: 2024-02-20 18:30:00+00:00 + content_version: 2024-02-20 18:33:00+00:00 file_patterns: - 'Zeichenkomponenten/*.csv' deck_name_pattern: '{{content_folder}}::{{from_basename}}::{{card_type}}' diff --git a/src/components/write/write.ts b/src/components/write/write.ts index 8deb34494962bb49760821bda063c756a522549e..e3f6d018178f6817df67c99118fb09f74048111b 100644 --- a/src/components/write/write.ts +++ b/src/components/write/write.ts @@ -1,7 +1,6 @@ import HanziWriter, { type HanziWriterOptions } from 'hanzi-writer' import { type Strokes, createStrokes } from './strokes' import { colorBg, colorFg, colorHighlight } from './colors' -import { Platform, isOnPlatform } from '../platform' import { GetHanziDataKind, getHanziData } from '../hanzi-data' const globalId = 'strichfolge-animation' @@ -130,10 +129,6 @@ function initWrite ( if (opts.highlightRadical === true) { hanziWriterOpts.radicalColor = colorHighlight } - if (isOnPlatform(Platform.AnkiDroid)) { - // looks less beatiful, but avoids some AnkiDroid glitches - hanziWriterOpts.renderer = 'canvas' - } // use bundled data if available, so it works offline most of the time const preloadedData = getHanziData({ char, kind: GetHanziDataKind.ANY }) if (preloadedData !== undefined) { diff --git a/src/templates/molaoshi/.template-spec.yaml b/src/templates/molaoshi/.template-spec.yaml index 77beb0bd47b48af8e1efc6f996c91f5b170eb086..5cc35fb083b666c1cbbf015eb6418e378aaefc42 100644 --- a/src/templates/molaoshi/.template-spec.yaml +++ b/src/templates/molaoshi/.template-spec.yaml @@ -1,4 +1,4 @@ -template_version: 2024-02-20 18:30:00+00:00 +template_version: 2024-02-20 18:33:00+00:00 note_type: id: 2024-02-20 12:00:00+00:00