mirror of
https://github.com/immich-app/immich
synced 2026-08-29 13:15:45 +00:00
chore: move slideshow control button group to the left (#27287)
This commit is contained in:
parent
78bb6cf926
commit
b074ee202e
2 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { getAnimateMock } from '$lib/__mocks__/animate.mock';
|
||||
import { getResizeObserverMock } from '$lib/__mocks__/resize-observer.mock';
|
||||
import { SlideshowState, slideshowStore } from '$lib/stores/slideshow.store';
|
||||
import { preferences as preferencesStore, resetSavedUser, user as userStore } from '$lib/stores/user.store';
|
||||
import { renderWithTooltips } from '$tests/helpers';
|
||||
import { updateAsset } from '@immich/sdk';
|
||||
|
|
@ -41,6 +42,7 @@ describe('AssetViewer', () => {
|
|||
});
|
||||
|
||||
afterEach(() => {
|
||||
slideshowStore.slideshowState.set(SlideshowState.None);
|
||||
resetSavedUser();
|
||||
vi.clearAllMocks();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -485,7 +485,7 @@
|
|||
{/if}
|
||||
|
||||
{#if $slideshowState != SlideshowState.None}
|
||||
<div class="absolute w-full flex justify-center">
|
||||
<div class="absolute inset-s-0 top-0 flex w-full justify-start">
|
||||
<SlideshowBar
|
||||
{isFullScreen}
|
||||
assetType={previewStackedAsset?.type ?? asset.type}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue