[fix] collaborator render order (#1213)
This PR fixes a bug where collaborator cursors would appear below other overlay content, such as selection boxes.
This commit is contained in:
parent
14b1f24eb2
commit
9fd0803428
1 changed files with 2 additions and 2 deletions
|
@ -125,7 +125,6 @@ export const Canvas = track(function Canvas({
|
||||||
{SvgDefs && <SvgDefs />}
|
{SvgDefs && <SvgDefs />}
|
||||||
</defs>
|
</defs>
|
||||||
<g ref={rSvgLayer}>
|
<g ref={rSvgLayer}>
|
||||||
<LiveCollaborators />
|
|
||||||
<ScribbleWrapper />
|
<ScribbleWrapper />
|
||||||
<BrushWrapper />
|
<BrushWrapper />
|
||||||
<ZoomBrushWrapper />
|
<ZoomBrushWrapper />
|
||||||
|
@ -133,8 +132,9 @@ export const Canvas = track(function Canvas({
|
||||||
<HoveredShapeIndicator />
|
<HoveredShapeIndicator />
|
||||||
<SelectionFg />
|
<SelectionFg />
|
||||||
<HintedShapeIndicator />
|
<HintedShapeIndicator />
|
||||||
<HandlesWrapper />
|
|
||||||
<SnapLinesWrapper />
|
<SnapLinesWrapper />
|
||||||
|
<HandlesWrapper />
|
||||||
|
<LiveCollaborators />
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue