Sfoglia il codice sorgente

WebVR.js: Avoid glow effect.

Mr.doob 7 anni fa
parent
commit
70fc54c986
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      examples/js/vr/WebVR.js

+ 1 - 0
examples/js/vr/WebVR.js

@@ -63,6 +63,7 @@ var WEBVR = {
 			element.style.font = 'normal 13px sans-serif';
 			element.style.font = 'normal 13px sans-serif';
 			element.style.textAlign = 'center';
 			element.style.textAlign = 'center';
 			element.style.opacity = '0.5';
 			element.style.opacity = '0.5';
+			element.style.outline = 'none';
 			element.style.zIndex = '999';
 			element.style.zIndex = '999';
 
 
 		}
 		}