Update comment spelling
This commit is contained in:
parent
91a98def2f
commit
9e6476c338
@ -28,7 +28,7 @@ function NetworkedMapPointer({ session, active, gridSize }) {
|
|||||||
|
|
||||||
// Send pointer updates every sendTickRate to peers to save on bandwidth
|
// Send pointer updates every sendTickRate to peers to save on bandwidth
|
||||||
// We use requestAnimationFrame as setInterval was being blocked during
|
// We use requestAnimationFrame as setInterval was being blocked during
|
||||||
// re-renders on chrome with windows
|
// re-renders on Chrome with Windows
|
||||||
const ownPointerUpdateRef = useRef();
|
const ownPointerUpdateRef = useRef();
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
let prevTime = performance.now();
|
let prevTime = performance.now();
|
||||||
|
Loading…
Reference in New Issue
Block a user