ソースを参照

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

Katy Tao 1 年間 前
コミット
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,