From fd445a5ee541890ec9da77449ce1978c87cef0eb Mon Sep 17 00:00:00 2001 From: Christian Ebert <bcc@phloxic.productions> Date: Sun, 27 Oct 2024 16:42:02 +0000 Subject: [PATCH] fix: assign component variables in a sparse array Fixes #68 --- src/sprite-thumbnails.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sprite-thumbnails.js b/src/sprite-thumbnails.js index 079b6bc..80f52f0 100644 --- a/src/sprite-thumbnails.js +++ b/src/sprite-thumbnails.js @@ -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);