Skip to content

Commit 803a580

Browse files
committed
data in wrong place
1 parent 1cb2d2a commit 803a580

File tree

6 files changed

+11055
-10490
lines changed

6 files changed

+11055
-10490
lines changed

dist/aframe-master.js

Lines changed: 5564 additions & 5701 deletions
Large diffs are not rendered by default.

dist/aframe-master.js.map

Lines changed: 16 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/aframe-master.min.js

Lines changed: 5471 additions & 4725 deletions
Large diffs are not rendered by default.

dist/aframe-master.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/cursor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,8 @@ module.exports.Component = registerComponent('cursor', {
320320
* in case user mousedowned one entity, dragged to another, and mouseupped.
321321
*/
322322
onCursorUp: function (evt) {
323+
var data = this.data;
324+
323325
if (!this.isCursorDown) { return; }
324326

325327
// If there is no activeInput being pressed or it is not
@@ -330,8 +332,6 @@ module.exports.Component = registerComponent('cursor', {
330332
) { return; }
331333

332334
this.isCursorDown = false;
333-
334-
var data = this.data;
335335
this.twoWayEmit(EVENTS.MOUSEUP);
336336

337337
if (this.reenableARHitTest === true) {

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ require('./core/a-mixin');
9090
require('./extras/components/');
9191
require('./extras/primitives/');
9292

93-
console.log('A-Frame Version: 1.3.0 (Date 2022-06-16, Commit #6da23e99)');
93+
console.log('A-Frame Version: 1.3.0 (Date 2022-07-12, Commit #1cb2d2a2)');
9494
console.log('THREE Version (https://github.com/supermedium/three.js):',
9595
pkg.dependencies['super-three']);
9696
console.log('WebVR Polyfill Version:', pkg.dependencies['webvr-polyfill']);

0 commit comments

Comments
 (0)