fix: Adapt to the new UI of youtube
This commit is contained in:
@@ -69,7 +69,7 @@ export function createLoadingSVG() {
|
|||||||
export function createLogoSVG({
|
export function createLogoSVG({
|
||||||
width = "100%",
|
width = "100%",
|
||||||
height = "100%",
|
height = "100%",
|
||||||
viewBox = "-20 -20 70 70",
|
viewBox = "0 -5 70 70",
|
||||||
isSelected = false,
|
isSelected = false,
|
||||||
} = {}) {
|
} = {}) {
|
||||||
const svg = createSVGElement("svg", {
|
const svg = createSVGElement("svg", {
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ class YouTubeCaptionProvider {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
this.#toggleButton = toggleButton;
|
this.#toggleButton = toggleButton;
|
||||||
this.#ytControls?.before(kissControls);
|
this.#ytControls?.prepend(kissControls);
|
||||||
}
|
}
|
||||||
|
|
||||||
#isSameLang(lang1, lang2) {
|
#isSameLang(lang1, lang2) {
|
||||||
|
|||||||
Reference in New Issue
Block a user