소스 검색

feat: add pan and zoom support for MiniMap (#13382)

Katy Tao 6 달 전
부모
커밋
b3ae6b634f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      web/app/components/workflow/operator/index.tsx

+ 2 - 0
web/app/components/workflow/operator/index.tsx

@@ -13,6 +13,8 @@ const Operator = ({ handleUndo, handleRedo }: OperatorProps) => {
   return (
     <>
       <MiniMap
+        pannable
+        zoomable
         style={{
           width: 102,
           height: 72,