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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user