mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 01:32:19 +00:00
fix(submarine-cables): a double-click follows a landing point or reference and zooms to a cable again
The cables, landing points and references were entities, which the default renderer's double-click followed (a point, or a reference at its tip) or zoomed to (a cable or area) until the sources were replaced or hidden. As draw-port items they took no part in it.
This commit is contained in:
1 parent
d003d9ee78
commit
94ea9cd01d
5 files changed
+92
No files matched your search
@@ -109,6 +109,8 @@ export function createLifecycle({ state, parts, source, mapStackEventTarget }) {
|
||||
state._overlayPublisher.hide();
|
||||
state._clickSubscription?.();
|
||||
state._clickSubscription = null;
|
||||
state._stockFollow?.destroy();
|
||||
state._stockFollow = null;
|
||||
if (state._preRenderRemover) {
|
||||
state._preRenderRemover();
|
||||
state._preRenderRemover = null;
|
||||
|
||||
Reference in new issue
Block a user