kopia lustrzana https://github.com/Tldraw/Tldraw
[fix] use page point for pointer (#3476)
fixes #3475 ### Change Type - [x] `sdk` — Changes the tldraw SDK - [x] `bugfix` — Bug fixpull/3480/head
rodzic
8a5741c283
commit
6f05a9b756
|
@ -8231,8 +8231,8 @@ export class Editor extends EventEmitter<TLEventMap> {
|
||||||
{
|
{
|
||||||
id: TLPOINTER_ID,
|
id: TLPOINTER_ID,
|
||||||
typeName: 'pointer',
|
typeName: 'pointer',
|
||||||
x: sx,
|
x: currentPagePoint.x,
|
||||||
y: sy,
|
y: currentPagePoint.y,
|
||||||
lastActivityTimestamp:
|
lastActivityTimestamp:
|
||||||
// If our pointer moved only because we're following some other user, then don't
|
// 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.
|
// update our last activity timestamp; otherwise, update it to the current timestamp.
|
||||||
|
|
Ładowanie…
Reference in New Issue