fix: edit bouquet photos in-place with recipe sync and area masks

* fix: edit bouquet photos in-place with recipe sync and area masks

* fix: silence MapPanel state_referenced_locally warning
This commit is contained in:
Chaewon Lee
2026-06-15 09:16:06 +09:00
committed by GitHub
parent e0f6058ff3
commit 063a193396
15 changed files with 605 additions and 101 deletions

View File

@@ -1,4 +1,5 @@
<script>
import { onMount } from 'svelte';
import FloristOrderMessage from './FloristOrderMessage.svelte';
import KakaoMap from './KakaoMap.svelte';
import ShopList from './ShopList.svelte';
@@ -19,10 +20,15 @@
onrefresh
} = $props();
let mapCenterLat = $state(initialLat);
let mapCenterLng = $state(initialLng);
let mapCenterLat = $state(DEFAULT_MAP_CENTER.lat);
let mapCenterLng = $state(DEFAULT_MAP_CENTER.lng);
let panTarget = $state(null);
onMount(() => {
mapCenterLat = initialLat;
mapCenterLng = initialLng;
});
function handleCenterChange(lat, lng) {
mapCenterLat = lat;
mapCenterLng = lng;