fix: Keep ongoing events if present on reported
This commit is contained in:
@@ -167,11 +167,13 @@ namespace Cryville.EEW.Unity {
|
||||
Debug.LogError(e);
|
||||
_ongoingReportManager.Report(e);
|
||||
_uiActionQueue.Enqueue(() => {
|
||||
if (m_mapElementManager.Count == 0) {
|
||||
m_mapElementManager.SetSelected(e);
|
||||
m_cameraController.OnMapElementUpdated();
|
||||
}
|
||||
if (e.InvalidatedTime == null && (!(e.RevisionKey?.IsCancellation ?? false))) {
|
||||
_latestHistoryReport = e;
|
||||
}
|
||||
m_cameraController.OnMapElementUpdated();
|
||||
});
|
||||
}
|
||||
void OnOngoingReported(ReportViewModel item, CollectionChangeAction action) {
|
||||
|
Reference in New Issue
Block a user