mirror of
https://github.com/moku-project/Moku.git
synced 2026-06-13 09:19:56 -05:00
Chore: Restructure Repository for SvelteKit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { clampZoom as _clampZoom, captureZoomAnchor, restoreZoomAnchor } from "@core/ui/zoom";
|
||||
import { ZOOM_MIN, ZOOM_MAX } from "../store/readerState.svelte";
|
||||
|
||||
export { captureZoomAnchor, restoreZoomAnchor };
|
||||
|
||||
export function clampZoom(z: number): number {
|
||||
return _clampZoom(z, ZOOM_MIN, ZOOM_MAX);
|
||||
}
|
||||
Reference in New Issue
Block a user