anmcgrath / BlazorDatasheet

Simple excel-like datasheet Blazor component
MIT License
208 stars 49 forks source link

Fix overflow error in RegionDataStore when rows/columns were removed. #83

Closed anmcgrath closed 5 months ago

anmcgrath commented 5 months ago

Fix bug #82. When removing rows/columns from a region restore we would remove any remaining area if the total area remaining was less than the MinArea. This PR does it without causing an arithmetic overflow error.