Sfoglia il codice sorgente

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

Katy Tao 3 mesi fa
parent
commit
b3ae6b634f
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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,