Skip to content

Commit

Permalink
Improved support for Heic - suggested by @Borisvl (#2654)
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria authored and aSouchereau committed Nov 9, 2024
1 parent 644eb29 commit fa3c678
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/js/composables/photo/basePhoto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ export function usePhotoBaseFunction(photoId: Ref<string>) {
return 0;
}
if (photo.value?.precomputed.is_raw) {
if (photo.value?.size_variants.medium !== null) {
return 2;
}
return 1;
}

Expand Down

0 comments on commit fa3c678

Please sign in to comment.