anmcgrath / BlazorDatasheet

Simple excel-like datasheet Blazor component
MIT License
131 stars 31 forks source link

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

Closed anmcgrath closed 1 week ago

anmcgrath commented 1 week 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.