feat(earth): refactor toolbar layout, improve cable breathing effect

- Restructure right-toolbar-group with zoom-toolbar and control-toolbar
- Add reset button to zoom-toolbar
- Change collapse toggle to arrow icon
- Improve cable breathing effect opacity range
- Adjust toolbar sizing and spacing
This commit is contained in:
linkong
2026-03-20 16:34:00 +08:00
parent 3fcbae55dc
commit 96222b9e4c
3 changed files with 90 additions and 65 deletions

View File

@@ -92,7 +92,7 @@ function applyCableVisualState() {
switch (state) {
case CABLE_STATE.LOCKED:
c.material.opacity = CABLE_CONFIG.lockedOpacityMin + pulse * CABLE_CONFIG.pulseCoefficient;
c.material.opacity = 0.3 + pulse * 0.7;
c.material.color.setRGB(1, 1, 1);
break;
case CABLE_STATE.HOVERED: