fix: code'
Some checks failed
Gitea djledda.de/arne-drums/pipeline/head There was a failure building this commit

This commit is contained in:
Daniel Ledda
2021-08-29 17:05:26 +02:00
parent 9ad282c12f
commit cd0bce18b3

View File

@@ -11,9 +11,9 @@ export type BeatSettingsViewUINodeOptions = UINodeOptions & {
export default class BeatSettingsView extends UINode implements ISubscriber { export default class BeatSettingsView extends UINode implements ISubscriber {
private beat: Beat; private beat: Beat;
private visible = false; private visible = false;
private timeSigUp: HTMLInputElement; private timeSigUp!: HTMLInputElement;
private timeSigDown: HTMLInputElement; private timeSigDown!: HTMLInputElement;
private barCountInput: HTMLInputElement; private barCountInput!: HTMLInputElement;
constructor(options: BeatSettingsViewUINodeOptions) { constructor(options: BeatSettingsViewUINodeOptions) {
super(options); super(options);
@@ -30,7 +30,7 @@ export default class BeatSettingsView extends UINode implements ISubscriber {
this.timeSigUp.value = this.beat.getTimeSigUp().toString(); this.timeSigUp.value = this.beat.getTimeSigUp().toString();
this.timeSigDown.value = this.beat.getTimeSigDown().toString(); this.timeSigDown.value = this.beat.getTimeSigDown().toString();
} else if (event === BeatEvents.NewBarCount) { } else if (event === BeatEvents.NewBarCount) {
this.barCountInput.value = this.beat.getBarCount(); this.barCountInput.value = this.beat.getBarCount().toString();
} }
} }