Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Commit

Permalink
#22
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxInertia committed May 7, 2018
1 parent 791435b commit 6327687
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/scala/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ object Main {
val container = dom.document.getElementById("scene-container")
env = Environment.setup(container)

/* TODO: Make the button unfocusable to prevent it from being highlighted on dblclick
val button = WEBVR.createButton(env.renderer)
val hasIt = button.hasAttribute("focusable")
dom.console.log(hasIt)
if(hasIt) {
dom.console.log(button.getAttribute("focusable"))
button.setAttribute("focusable", "false")
}*/
dom.document.body.appendChild( WEBVR.createButton(env.renderer) )

if(foundVRHeadset) {
Expand Down

0 comments on commit 6327687

Please sign in to comment.