Skip to content

Commit 7f6dc95

Browse files
make menu panel opacity to 1
1 parent 11ba426 commit 7f6dc95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/model-viewer/src/three-components/XRMenuPanel.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {CanvasTexture, Mesh,Object3D, Shape,ShapeGeometry, LinearFilter, MeshBas
33
import {Damper} from './Damper.js';
44
import {ModelScene} from './ModelScene.js';
55

6-
const MAX_OPACITY = 0.6;
6+
const MAX_OPACITY = 1;
77
const PANEL_WIDTH = 0.1;
88
const PANEL_HEIGHT = 0.1;
99
const PANEL_CORNER_RADIUS = 0.02;
@@ -66,7 +66,7 @@ export class XRMenuPanel extends Object3D {
6666
width = 0.05,
6767
height = 0.05,
6868
fontSize = 80,
69-
textColor = 'white',
69+
textColor = '#cccccc',
7070
backgroundColor = 'transparent',
7171
fontFamily = 'sans-serif'
7272
} = options || {};

0 commit comments

Comments
 (0)