fix: remove dead code
This commit is contained in:
@@ -213,10 +213,6 @@ function tryRemoveElement(elem) {
|
||||
/**
|
||||
* @type {null | undefined}
|
||||
*/
|
||||
#currentAssRenderer;
|
||||
/**
|
||||
* @type {number | undefined}
|
||||
*/
|
||||
#customTrackIndex;
|
||||
/**
|
||||
* @type {number | undefined}
|
||||
@@ -1172,12 +1168,6 @@ function tryRemoveElement(elem) {
|
||||
jassub.destroy();
|
||||
}
|
||||
this.#currentAssRenderer = null;
|
||||
|
||||
const renderer = this.#currentAssRenderer;
|
||||
if (renderer) {
|
||||
renderer.setEnabled(false);
|
||||
}
|
||||
this.#currentAssRenderer = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user