We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bd9383 commit 35a515cCopy full SHA for 35a515c
packages/collaboration/src/cursors.ts
@@ -251,7 +251,7 @@ const userHover = hoverTooltip(
251
continue;
252
}
253
// Use some margin around the cursor to display the user.
254
- if (head.index - 1 <= pos && pos <= head.index + 1) {
+ if (head.index - 3 <= pos && pos <= head.index + 3) {
255
return {
256
pos: head.index,
257
above: true,
@@ -271,7 +271,8 @@ const userHover = hoverTooltip(
271
return null;
272
},
273
{
274
- hideOn: (tr, tooltip) => !!tr.annotation(remoteSelectionsAnnotation)
+ hideOn: (tr, tooltip) => !!tr.annotation(remoteSelectionsAnnotation),
275
+ hoverTime: 0
276
277
);
278
0 commit comments