Update task.md
typo
This commit is contained in:
parent
a0c07342ad
commit
1161b75825
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ Visually, it will look like this:
|
||||||
1. For the first mouse movement the decorated variant passes the call to `update`. That's important, the user sees our reaction to their move immediately.
|
1. For the first mouse movement the decorated variant passes the call to `update`. That's important, the user sees our reaction to their move immediately.
|
||||||
2. Then as the mouse moves on, until `100ms` nothing happens. The decorated variant ignores calls.
|
2. Then as the mouse moves on, until `100ms` nothing happens. The decorated variant ignores calls.
|
||||||
3. At the end of `100ms` -- one more `update` happens with the last coordinates.
|
3. At the end of `100ms` -- one more `update` happens with the last coordinates.
|
||||||
4. Then, finally, the mouse stops somewhere. The decorated variant waits until `100ms` expire and then runs `update` runs with last coordinates. So, perhaps the most important, the final mouse coordinates are processed.
|
4. Then, finally, the mouse stops somewhere. The decorated variant waits until `100ms` expire and then runs `update` with last coordinates. So, perhaps the most important, the final mouse coordinates are processed.
|
||||||
|
|
||||||
A code example:
|
A code example:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue