提交 f12268fe 编写于 作者: Y Yomotsu

pointer-event handling

上级 ff616175
......@@ -10,6 +10,7 @@ THREE.CSS3DObject = function ( element ) {
this.element = element;
this.element.style.position = 'absolute';
this.element.style.pointerEvents = 'auto';
this.addEventListener( 'removed', function () {
......@@ -55,6 +56,7 @@ THREE.CSS3DRenderer = function () {
var domElement = document.createElement( 'div' );
domElement.style.overflow = 'hidden';
domElement.style.pointerEvents = 'none';
this.domElement = domElement;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册