2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-12-15 12:24:57 +01:00

Explorer: Show data for the current system only (#86)

Resolves #63

This behavior is suppressed during batch reads.
This commit is contained in:
F K
2022-05-28 09:03:36 -04:00
committed by GitHub
parent 6616b54852
commit 8106fbd0df
3 changed files with 30 additions and 7 deletions

View File

@@ -69,6 +69,14 @@ namespace Observatory.Explorer
case ScanBaryCentre barycentre:
explorer.RecordBarycentre(barycentre);
break;
case FSDJump fsdjump:
if (fsdjump is CarrierJump && !((CarrierJump)fsdjump).Docked)
break;
explorer.SetSystem(fsdjump.StarSystem);
break;
case Location location:
explorer.SetSystem(location.StarSystem);
break;
case DiscoveryScan discoveryScan:
break;
case FSSDiscoveryScan discoveryScan:
@@ -95,7 +103,6 @@ namespace Observatory.Explorer
explorer.Clear();
}
}
public object Settings
{
@@ -103,6 +110,6 @@ namespace Observatory.Explorer
set => settings = (ExplorerSettings)value;
}
private ExplorerSettings settings;
internal ExplorerSettings settings;
}
}