Skip to content

Commit

Permalink
fix(geo3D): correct the initial state of _lastHoverDataIndex
Browse files Browse the repository at this point in the history
The hover region in the initial state should be empty

Closes ecomfe#520
  • Loading branch information
curly210102 committed Apr 24, 2024
1 parent 031da0e commit da7763b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/common/Geo3DBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Geo3DBuilder.prototype = {
this._updateDebugWireframe(componentModel);

// Reset some state.
this._lastHoverDataIndex = 0;
this._lastHoverDataIndex = -1;
},

_initMeshes: function () {
Expand Down

0 comments on commit da7763b

Please sign in to comment.