瀏覽代碼

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

Katy Tao 3 月之前
父節點
當前提交
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,