fix: redesign earth hud interactions and legend behavior
This commit is contained in:
@@ -6,6 +6,7 @@ import { CONFIG, CABLE_COLORS, PATHS, CABLE_STATE } from "./constants.js";
|
||||
import { latLonToVector3 } from "./utils.js";
|
||||
import { updateEarthStats, showStatusMessage } from "./ui.js";
|
||||
import { showInfoCard } from "./info-card.js";
|
||||
import { setLegendMode } from "./legend.js";
|
||||
|
||||
export let cableLines = [];
|
||||
export let landingPoints = [];
|
||||
@@ -383,6 +384,7 @@ export function handleCableClick(cable) {
|
||||
lockedCable = cable;
|
||||
|
||||
const data = cable.userData;
|
||||
setLegendMode("cables");
|
||||
showInfoCard("cable", {
|
||||
name: data.name,
|
||||
owner: data.owner,
|
||||
|
||||
Reference in New Issue
Block a user