Open wolfi-by opened 4 months ago
Add additional check for zero (0) of value Diagram.Options.GridSize to avoid devide by 0 and getting a double.NaN as result
https://github.com/Blazor-Diagrams/Blazor.Diagrams/blame/ac4eef3d8e4ef0cc5a7caabfda33864d154890be/src/Blazor.Diagrams.Core/Behaviors/DragMovablesBehavior.cs#L99
Add additional check for zero (0) of value Diagram.Options.GridSize to avoid devide by 0 and getting a double.NaN as result
https://github.com/Blazor-Diagrams/Blazor.Diagrams/blame/ac4eef3d8e4ef0cc5a7caabfda33864d154890be/src/Blazor.Diagrams.Core/Behaviors/DragMovablesBehavior.cs#L99