+ @for (var x = VM.MinX; x <= VM.MaxX; x++)
+ {
+ for (var y = VM.MinY; y <= VM.MaxY; y++)
+ {
+ var sysloc = VM.StarSystemLocations.SingleOrDefault(q => q.Location.X == x && q.Location.Y == y);
+ var row = y - VM.MinY + 1;
+ var col = x - VM.MinX + 1;
+ if (sysloc is not null)
+ {
+ // system pie
+ string border = "1px solid black";
+ if (sysloc.Item == VM.SelectedStarSystem)
+ {
+ // making the border thicker breaks the layout for some reason
+ border = "1px solid white";
+ }
+
+ }
+ else
+ {
+ // placeholder
+
+ }
+ }
+ }
+