Merge pull request #17792 from Scroody/I-17741
fix: Default cursor not appearing when entering meeting.
This commit is contained in:
commit
5f0686697a
@ -241,7 +241,8 @@ const Cursors = (props) => {
|
||||
};
|
||||
}, [cursorWrapper, whiteboardId, currentUser.presenter, whiteboardToolbarAutoHide]);
|
||||
|
||||
let cursorType = multiUserAccess || currentUser?.presenter ? TOOL_CURSORS[currentTool] || 'none' : 'default';
|
||||
let cursorType = multiUserAccess || currentUser?.presenter ? TOOL_CURSORS[currentTool] : 'default';
|
||||
|
||||
if (isPanning) {
|
||||
if (panGrabbing) {
|
||||
cursorType = TOOL_CURSORS.grabbing;
|
||||
@ -250,7 +251,6 @@ const Cursors = (props) => {
|
||||
}
|
||||
}
|
||||
if (isMoving) cursorType = TOOL_CURSORS.moving;
|
||||
|
||||
return (
|
||||
<span key={`cursor-wrapper-${whiteboardId}`} ref={cursorWrapper}>
|
||||
<div style={{ height: '100%', cursor: cursorType }}>
|
||||
|
Loading…
Reference in New Issue
Block a user