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 Nov 6, 2024
1 parent 12b500c commit 39adc2b
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 39adc2b

Please sign in to comment.