feat: add ZoomIndicator to graph

This commit is contained in:
2026-05-07 17:00:21 +02:00
parent 091c0f0a83
commit af40db3386
2 changed files with 53 additions and 0 deletions
@@ -16,6 +16,7 @@
import { maxZoom, minZoom } from './constants';
import { FileDropEventManager } from './drop.events';
import { MouseEventManager } from './mouse.events';
import ZoomIndicator from './ZoomIndicator.svelte';
const {
keymap,
@@ -247,6 +248,8 @@
<HelpView registry={graph.registry} />
{/if}
<ZoomIndicator {safePadding} />
<style>
.graph-wrapper {
position: relative;