We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93424fa commit 9d53199Copy full SHA for 9d53199
Source/RunActivity/Viewer3D/Map/MapForm.cs
@@ -364,7 +364,11 @@ private void InitializeData()
364
var maxsize = maxX - minX > maxY - minY ? maxX - minX : maxY - minY;
365
// Take up to next 500
366
maxsize = (int)((maxsize / 100) + 1) * 500;
367
- mapResolutionUpDown.Maximum = (decimal)maxsize;
+ if ((decimal)maxsize < mapResolutionUpDown.Maximum)
368
+ {
369
+ // do not make maximum larger then the maximum defined in the Designer
370
+ mapResolutionUpDown.Maximum = (decimal)maxsize;
371
+ }
372
Inited = true;
373
374
if (simulator.TDB == null || simulator.TDB.TrackDB == null || simulator.TDB.TrackDB.TrItemTable == null)
0 commit comments