fix: code'
Some checks failed
Gitea djledda.de/arne-drums/pipeline/head There was a failure building this commit
Some checks failed
Gitea djledda.de/arne-drums/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user