chore: format
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
import PanzoomContainer from './PanzoomContainer.svelte';
|
||||
import Reset from '../icons/Reset.svelte';
|
||||
|
||||
|
||||
export let item;
|
||||
export let show = false;
|
||||
export let edit = false;
|
||||
|
||||
@@ -161,12 +161,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<PanzoomContainer className="flex h-full max-h-full justify-center items-center z-0">
|
||||
<img
|
||||
{src}
|
||||
{alt}
|
||||
class=" mx-auto h-full object-scale-down select-none"
|
||||
draggable="false"
|
||||
/>
|
||||
<img {src} {alt} class=" mx-auto h-full object-scale-down select-none" draggable="false" />
|
||||
</PanzoomContainer>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
instance = localInstance;
|
||||
return () => {
|
||||
localInstance.dispose();
|
||||
}
|
||||
};
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user