Merge pull request #5443 from xyflow/fix/windows-scroll

chore(minimap): fix zooming on windows
This commit is contained in:
Moritz Klack
2025-08-12 12:49:12 +02:00
committed by GitHub
3 changed files with 13 additions and 6 deletions
@@ -65,7 +65,7 @@ function MiniMapComponent<NodeType extends Node = Node>({
zoomable = false,
ariaLabel,
inversePan,
zoomStep = 10,
zoomStep = 1,
offsetScale = 5,
}: MiniMapProps<NodeType>) {
const store = useStoreApi<NodeType>();