This commit is contained in:
zsviczian
2024-06-09 16:34:48 +02:00
parent 94fbac38bf
commit dfbd385de7
10 changed files with 55 additions and 8 deletions

View File

@@ -321,6 +321,7 @@ class ImageCache {
return this.getBackupData(filepath);
}
//cache SVG should have the width and height parameters and not the embedded font
public addImageToCache(key_: ImageKey, obsidianURL: string, image: Blob|SVGSVGElement): void {
if (!this.isReady()) {
return; // Database not initialized yet