Browse Source

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

Katy Tao 2 months ago
parent
commit
b3ae6b634f
1 changed files with 2 additions and 0 deletions
  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,