Skip to content

Commit

Permalink
fix: assign component variables in a sparse array
Browse files Browse the repository at this point in the history
Fixes #68
  • Loading branch information
phloxic committed Oct 27, 2024
1 parent be00e49 commit fd445a5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sprite-thumbnails.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ const spriteThumbs = (player, plugin, options) => {
_controlBar,
_progressControl,
_seekBar,
// MouseTimeDisplay unused
// no need to assign MouseTimeDisplay
,
_timeTooltip
] = descendants.toSpliced(3, 1);
] = descendants;

const playerDescendant = componentName => {
const idx = descendants.indexOf(componentName);
Expand Down

0 comments on commit fd445a5

Please sign in to comment.