Skip to content

Commit

Permalink
Merge pull request #4470 from mozilla/Slice9AlphaTest
Browse files Browse the repository at this point in the history
Fix wrong transparent object menu buttons and texts
  • Loading branch information
takahirox authored Aug 5, 2021
2 parents 55f12c3 + aa94ff0 commit 397ba73
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
5 changes: 2 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"@popperjs/core": "^2.4.4",
"aframe": "github:mozillareality/aframe#hubs/master",
"aframe-rounded": "^1.0.3",
"aframe-slice9-component": "^1.0.0",
"aframe-slice9-component": "github:takahirox/aframe-slice9-component#AlphaTest",
"ammo-debug-drawer": "github:infinitelee/ammo-debug-drawer",
"ammo.js": "github:mozillareality/ammo.js#hubs/master",
"animejs": "github:mozillareality/anime#hubs/master",
Expand Down
15 changes: 10 additions & 5 deletions src/hub.html
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,8 @@
top: 64;
right: 66;
bottom: 66;
opacity: 1.0;
transparent: false;
alphaTest: 0.1;
src: #button"
></a-mixin>

Expand All @@ -984,7 +985,8 @@
top: 64;
right: 66;
bottom: 66;
opacity: 1.0;
transparent: false;
alphaTest: 0.1;
src: #button"
></a-mixin>

Expand All @@ -996,7 +998,8 @@
top: 64;
right: 66;
bottom: 66;
opacity: 1.0;
transparent: false;
alphaTest: 0.1;
src: #action-button"
></a-mixin>

Expand All @@ -1008,7 +1011,8 @@
top: 64;
right: 66;
bottom: 66;
opacity: 1.0;
transparent: false;
alphaTest: 0.1;
src: #action-button"
></a-mixin>

Expand All @@ -1026,7 +1030,8 @@
top: 64;
right: 66;
bottom: 66;
opacity: 1.0;
transparent: false;
alphaTest: 0.1;
src: #button"
></a-mixin>
</a-assets>
Expand Down

0 comments on commit 397ba73

Please sign in to comment.