From 3422cd65ff212239f13462a0180e44ac59b43211 Mon Sep 17 00:00:00 2001 From: cpojer Date: Sun, 15 Sep 2024 09:34:49 +0900 Subject: [PATCH] Use proper zoom value for tutorial maps. GitOrigin-RevId: 72877e185262468b82a4e0008c4fdb2c3c876868 --- hera/editor/hooks/useZoom.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hera/editor/hooks/useZoom.tsx b/hera/editor/hooks/useZoom.tsx index 0adf4190..ed599434 100644 --- a/hera/editor/hooks/useZoom.tsx +++ b/hera/editor/hooks/useZoom.tsx @@ -4,7 +4,7 @@ import scrollToCenter from '@deities/ui/lib/scrollToCenter.tsx'; import { getCurrentScrollContainer } from '@deities/ui/ScrollContainer.tsx'; import { useCallback, useEffect, useRef, useState } from 'react'; -const getKey = (key: string) => `::AC::volume::${key}`; +const getKey = (key: string) => `::AC::zoom::${key}`; export type SetZoomFn = (value: number | ((value: number) => number)) => void;