about summary refs log tree commit diff
path: root/src/state/models/cache/image-sizes.ts
diff options
context:
space:
mode:
authorOllie H <renahlee@outlook.com>2023-05-30 17:23:55 -0700
committerGitHub <noreply@github.com>2023-05-30 19:23:55 -0500
commit072682dd9f8843787229a98fbeea24161bc0c9b4 (patch)
tree931c55dd298e36e363bb0366f41d671043f091ba /src/state/models/cache/image-sizes.ts
parentdeebe18aaa883d7fcedabd594dda057f991c3026 (diff)
downloadvoidsky-072682dd9f8843787229a98fbeea24161bc0c9b4.tar.zst
Rework scaled dimensions and compression (#737)
* Rework scaled dimensions and compression

* Unbreak image / banner uploads

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Diffstat (limited to 'src/state/models/cache/image-sizes.ts')
-rw-r--r--src/state/models/cache/image-sizes.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state/models/cache/image-sizes.ts b/src/state/models/cache/image-sizes.ts
index bbfb9612b..c30a68f4d 100644
--- a/src/state/models/cache/image-sizes.ts
+++ b/src/state/models/cache/image-sizes.ts
@@ -16,6 +16,7 @@ export class ImageSizesCache {
     if (Dimensions) {
       return Dimensions
     }
+
     const prom =
       this.activeRequests.get(uri) ||
       new Promise<Dimensions>(resolve => {