From 39adc2bee0d79d8221ab28a84de256b01983f782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Viguier?= Date: Wed, 6 Nov 2024 01:31:25 +0100 Subject: [PATCH] Improved support for Heic - suggested by @Borisvl (#2654) --- resources/js/composables/photo/basePhoto.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/js/composables/photo/basePhoto.ts b/resources/js/composables/photo/basePhoto.ts index 49d828d1232..21b2575af9a 100644 --- a/resources/js/composables/photo/basePhoto.ts +++ b/resources/js/composables/photo/basePhoto.ts @@ -70,6 +70,9 @@ export function usePhotoBaseFunction(photoId: Ref) { return 0; } if (photo.value?.precomputed.is_raw) { + if (photo.value?.size_variants.medium !== null) { + return 2; + } return 1; }