Skip to content

Commit

Permalink
fix(event-display): use line animation for line hit
Browse files Browse the repository at this point in the history
  • Loading branch information
9inpachi committed Jun 6, 2021
1 parent 3e5d80d commit df425ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export class AnimationsManager {
eventData.traverse((eventObject: any) => {
if (eventObject.geometry) {
// Animation for extrapolating tracks without changing scale
if (eventObject.name === 'Track') {
if (eventObject.name === 'Track' || eventObject.name === 'LineHit') {
// Check if geometry drawRange count exists
let geometryPosCount =
eventObject.geometry?.attributes?.position?.count;
Expand Down

0 comments on commit df425ee

Please sign in to comment.