web: Rename RufflePlayer.update_styles to RufflePlayer.updateStyles

This commit is contained in:
Nathan Adams 2020-11-15 01:41:02 +01:00 committed by Mike Welsh
parent a25a298277
commit d0030e6ea7
1 changed files with 3 additions and 3 deletions

View File

@ -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 (