|
|
@ -176,7 +176,6 @@ AFRAME.registerComponent('pinchprimary', { // currently only 1 hand, the right o |
|
|
|
} |
|
|
|
} |
|
|
|
if (selectedElement){ |
|
|
|
if (selectedElement){ |
|
|
|
let content = selectedElement.getAttribute("value") |
|
|
|
let content = selectedElement.getAttribute("value") |
|
|
|
console.log('emitted released event that somehow does NOT get cought anymore') // broken since 1.6, emitting works but does not seem to be caught
|
|
|
|
|
|
|
|
selectedElement.emit('released', {element:selectedElement, timestamp:Date.now(), primary:true}) |
|
|
|
selectedElement.emit('released', {element:selectedElement, timestamp:Date.now(), primary:true}) |
|
|
|
} |
|
|
|
} |
|
|
|
// unselect current target if any
|
|
|
|
// unselect current target if any
|
|
|
|