fix(earth): clear lock state when hiding satellites or cables

This commit is contained in:
rayd1o
2026-03-21 04:50:05 +08:00
parent af29e90cb0
commit eabdbdc85a
2 changed files with 8 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ let lockedObjectType = null;
let dragStartTime = 0;
let isLongDrag = false;
function clearLockedObject() {
export function clearLockedObject() {
hoveredCable = null;
hoveredSatellite = null;
hoveredSatelliteIndex = null;