breaking: updated several parameters for consistency

This commit is contained in:
Jakob Pinterits
2024-05-23 19:46:09 +02:00
parent f827b8eb43
commit 685dc2afcb
10 changed files with 48 additions and 36 deletions
+1 -2
View File
@@ -12,7 +12,6 @@ export type ButtonState = ComponentState & {
color?: ColorSet;
content?: ComponentId;
is_sensitive?: boolean;
initially_disabled_for?: number;
};
export class ButtonComponent extends SingleContainer {
@@ -53,7 +52,7 @@ export class ButtonComponent extends SingleContainer {
setTimeout(() => {
this.isStillInitiallyDisabled = false;
}, this.state.initially_disabled_for * 1000);
}, 350);
return element;
}