Add actuator model

This commit is contained in:
2022-03-30 12:34:10 +08:00
parent 873a2a8d0a
commit c811b5b1e5
5 changed files with 148 additions and 7 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ class HeaderBar extends Component<
return (t: number) => {
let newState: HeaderBarState = {} as any;
newState[type] = 1 / t;
if (this.updateTime > 60) {
if (this.updateTime > 20) {
this.updateTime = 0;
this.setState(newState);
}