Procházet zdrojové kódy

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

Katy Tao před 2 měsíci
rodič
revize
b3ae6b634f
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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,