Skip to content

Commit 1ef687f

Browse files
feat: update code
1 parent a34b50f commit 1ef687f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/gizmo/src/Axis.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export class Axis extends Component {
7777
/** recover axis color */
7878
recover(): void {
7979
this._material.baseColor.copyFrom(this._color);
80+
this._alpha = this._color.a;
8081
}
8182
/** change axis alpha */
8283
alpha(v: number): void {

0 commit comments

Comments
 (0)