Blazor.SVGEditor
Blazor.SVGEditor copied to clipboard
SnapToInteger should use midpoint rounding
Currently, when SnapToInteger is activated, we use casts to ints in many places to ensure whole numbers, but it would give a smoother experience if we used Math.Round instead. So, let's update this.