[fix] collaborator render order (#1213)

This PR fixes a bug where collaborator cursors would appear below other
overlay content, such as selection boxes.
pull/1219/head
Steve Ruiz 2023-05-03 09:29:04 +01:00 zatwierdzone przez GitHub
rodzic 14b1f24eb2
commit 9fd0803428
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -125,7 +125,6 @@ export const Canvas = track(function Canvas({
{SvgDefs && <SvgDefs />}
</defs>
<g ref={rSvgLayer}>
<LiveCollaborators />
<ScribbleWrapper />
<BrushWrapper />
<ZoomBrushWrapper />
@ -133,8 +132,9 @@ export const Canvas = track(function Canvas({
<HoveredShapeIndicator />
<SelectionFg />
<HintedShapeIndicator />
<HandlesWrapper />
<SnapLinesWrapper />
<HandlesWrapper />
<LiveCollaborators />
</g>
</svg>
</div>