fix: Fix network events invalidating map view
This commit is contained in:
@@ -183,7 +183,6 @@ namespace Cryville.EEW.Unity {
|
||||
m_mapElementManager.SetSelected(null);
|
||||
}
|
||||
m_ongoingEventList.Add(item);
|
||||
m_cameraController.OnMapElementUpdated();
|
||||
});
|
||||
}
|
||||
else if (action == CollectionChangeAction.Remove) {
|
||||
@@ -193,7 +192,6 @@ namespace Cryville.EEW.Unity {
|
||||
m_mapElementManager.SetSelected(_latestHistoryReport, true);
|
||||
}
|
||||
m_ongoingEventList.Remove(item);
|
||||
m_cameraController.OnMapElementUpdated();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user