Add actuator model
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user