mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +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
@@ -62,6 +62,9 @@ export function createState({ sweepClock, overlayHost }) {
|
||||
state._referenceRecords = [];
|
||||
|
||||
state._clickSubscription = null;
|
||||
/** The follow a double-click started, and each set's drawn items by id. */
|
||||
state._stockFollow = null;
|
||||
state._drawnItems = new Map();
|
||||
|
||||
state._preRenderRemover = null;
|
||||
|
||||
|
||||
Reference in new issue
Block a user