Handle image cropping

This commit is contained in:
ZXY101
2023-09-25 07:43:48 +02:00
parent 4d6f5bd7ae
commit f95d402ebd
9 changed files with 6825 additions and 20414 deletions

View File

@@ -7,6 +7,7 @@
import MangaPage from './MangaPage.svelte';
import { ChervonDoubleLeftSolid, ChervonDoubleRightSolid } from 'flowbite-svelte-icons';
import { afterUpdate } from 'svelte';
import Cropper from './Cropper.svelte';
const volume = $currentVolume;
const pages = volume?.mokuroData.pages;
@@ -94,6 +95,7 @@
<svelte:window on:resize={zoomDefault} />
{#if volume && pages}
<Cropper />
<Popover placement="bottom-end" trigger="click" triggeredBy="#page-num" class="z-20">
<div class="flex flex-col gap-3">
<div class="flex flex-row items-center gap-5 z-10">