Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasm91 committed Sep 12, 2024
1 parent 2cb8c95 commit 38e78bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions web/src/lib/components/asset-viewer/panorama-viewer.svelte
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<script lang="ts">
import { alwaysLoadOriginalFile } from '$lib/stores/preferences.store';
import { getAssetOriginalUrl, getKey } from '$lib/utils';
import { isWebCompatibleImage } from '$lib/utils/asset-utils';
import { AssetMediaSize, AssetTypeEnum, viewAsset, type AssetResponseDto } from '@immich/sdk';
import type { AdapterConstructor, PluginConstructor } from '@photo-sphere-viewer/core';
import { t } from 'svelte-i18n';
import { fade } from 'svelte/transition';
import LoadingSpinner from '../shared-components/loading-spinner.svelte';
import { alwaysLoadOriginalFile } from '$lib/stores/preferences.store';
import { t } from 'svelte-i18n';
export let asset: { id: string; type: AssetTypeEnum.Video } | AssetResponseDto;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<script lang="ts">
import { alwaysLoadOriginalFile } from '$lib/stores/preferences.store';
import {
EquirectangularAdapter,
Viewer,
events,
EquirectangularAdapter,
type PluginConstructor,
type AdapterConstructor,
type PluginConstructor,
} from '@photo-sphere-viewer/core';
import '@photo-sphere-viewer/core/index.css';
import { onDestroy, onMount } from 'svelte';
import { alwaysLoadOriginalFile } from '$lib/stores/preferences.store';
export let panorama: string | { source: string };
export let originalImageUrl: string | null;
Expand Down

0 comments on commit 38e78bd

Please sign in to comment.