[fix] use page point for pointer (#3476)

fixes #3475

### Change Type

- [x] `sdk` — Changes the tldraw SDK
- [x] `bugfix` — Bug fix
pull/3480/head
David Sheldrick 2024-04-16 11:19:54 +01:00 zatwierdzone przez GitHub
rodzic 8a5741c283
commit 6f05a9b756
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -8231,8 +8231,8 @@ export class Editor extends EventEmitter<TLEventMap> {
{
id: TLPOINTER_ID,
typeName: 'pointer',
x: sx,
y: sy,
x: currentPagePoint.x,
y: currentPagePoint.y,
lastActivityTimestamp:
// If our pointer moved only because we're following some other user, then don't
// update our last activity timestamp; otherwise, update it to the current timestamp.