mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-28 17:08:46 +00:00
emit color prop change on destroy
This commit is contained in:
parent
572144a7e1
commit
ce85ed99b2
1 changed files with 3 additions and 1 deletions
|
|
@ -110,7 +110,9 @@ function HTMLSubtitles(options) {
|
|||
destroyed = true;
|
||||
clearTracks();
|
||||
events.emit('propChanged', 'size');
|
||||
events.emit('propChanged', 'darkBackground');
|
||||
events.emit('propChanged', 'textColor');
|
||||
events.emit('propChanged', 'backgroundColor');
|
||||
events.emit('propChanged', 'outlineColor');
|
||||
events.emit('propChanged', 'offset');
|
||||
events.removeAllListeners();
|
||||
events.on('error', function() { });
|
||||
|
|
|
|||
Loading…
Reference in a new issue