Skip to content

Commit

Permalink
data in wrong place
Browse files Browse the repository at this point in the history
  • Loading branch information
AdaRoseCannon committed Jul 12, 2022
1 parent 1cb2d2a commit 803a580
Show file tree
Hide file tree
Showing 6 changed files with 11,055 additions and 10,490 deletions.
11,265 changes: 5,564 additions & 5,701 deletions dist/aframe-master.js

Large diffs are not rendered by default.

76 changes: 16 additions & 60 deletions dist/aframe-master.js.map

Large diffs are not rendered by default.

10,196 changes: 5,471 additions & 4,725 deletions dist/aframe-master.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/aframe-master.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/components/cursor.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,8 @@ module.exports.Component = registerComponent('cursor', {
* in case user mousedowned one entity, dragged to another, and mouseupped.
*/
onCursorUp: function (evt) {
var data = this.data;

if (!this.isCursorDown) { return; }

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

this.isCursorDown = false;

var data = this.data;
this.twoWayEmit(EVENTS.MOUSEUP);

if (this.reenableARHitTest === true) {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ require('./core/a-mixin');
require('./extras/components/');
require('./extras/primitives/');

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

0 comments on commit 803a580

Please sign in to comment.