web: Rename RufflePlayer.update_styles to RufflePlayer.updateStyles
This commit is contained in:
parent
a25a298277
commit
d0030e6ea7
|
@ -137,7 +137,7 @@ export class RufflePlayer extends HTMLElement {
|
||||||
* @ignore
|
* @ignore
|
||||||
*/
|
*/
|
||||||
connectedCallback(): void {
|
connectedCallback(): void {
|
||||||
this.update_styles();
|
this.updateStyles();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -156,7 +156,7 @@ export class RufflePlayer extends HTMLElement {
|
||||||
_newValue: string | undefined
|
_newValue: string | undefined
|
||||||
): void {
|
): void {
|
||||||
if (name === "width" || name === "height") {
|
if (name === "width" || name === "height") {
|
||||||
this.update_styles();
|
this.updateStyles();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -177,7 +177,7 @@ export class RufflePlayer extends HTMLElement {
|
||||||
*
|
*
|
||||||
* @protected
|
* @protected
|
||||||
*/
|
*/
|
||||||
protected update_styles(): void {
|
protected updateStyles(): void {
|
||||||
if (this.dynamic_styles.sheet) {
|
if (this.dynamic_styles.sheet) {
|
||||||
if (this.dynamic_styles.sheet.rules) {
|
if (this.dynamic_styles.sheet.rules) {
|
||||||
for (
|
for (
|
||||||
|
|
Loading…
Reference in New Issue