mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 05:37:55 +01:00
decrease autoupdate interval
This commit is contained in:
parent
cdb12f4d78
commit
21bd6c4714
@ -26,7 +26,7 @@ class WifiBoxControl extends React.Component {
|
||||
const box = new Doodle3DBox(ip);
|
||||
window.d3dbox = box;
|
||||
box.addEventListener('update', ({ state }) => this.setState({ status: state }));
|
||||
box.setAutoUpdate(true, 1000);
|
||||
box.setAutoUpdate(true, 5000);
|
||||
|
||||
this.setState({ box });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user