Change to Faster default Update Rate
This commit is contained in:
parent
e0b1d760de
commit
f74e76ba67
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ void addControls(Example ex) {
|
||||||
..id = "update_speed"
|
..id = "update_speed"
|
||||||
..min = "1"
|
..min = "1"
|
||||||
..max = "50"
|
..max = "50"
|
||||||
..value = "1"
|
..value = "2"
|
||||||
..step = "1"
|
..step = "1"
|
||||||
..onInput.listen((Event e) {
|
..onInput.listen((Event e) {
|
||||||
loop.setUpdates(1000 / int.parse((e.target as InputElement).value));
|
loop.setUpdates(1000 / int.parse((e.target as InputElement).value));
|
||||||
|
|
Loading…
Reference in a new issue