Skip to content

Commit

Permalink
Use proper zoom value for tutorial maps.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 72877e185262468b82a4e0008c4fdb2c3c876868
  • Loading branch information
cpojer committed Sep 15, 2024
1 parent da51a16 commit 3422cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hera/editor/hooks/useZoom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3422cd6

Please sign in to comment.