Collab ui tweaks (#913)

* decrease gap between menu icons

* reduce margin of copy button

* add collaboratorsCount to roomDialog toggle button
This commit is contained in:
David Luzar 2020-03-11 22:48:27 +01:00 committed by GitHub
parent b82b0754ac
commit 2db2f3f5e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 37 additions and 7 deletions

View file

@ -109,13 +109,14 @@ export const LayerUI = React.memo(
<Section className="App-right-menu" heading="canvasActions">
<Island padding={4}>
<Stack.Col gap={4}>
<Stack.Row gap={2.25} justifyContent={"space-between"}>
<Stack.Row gap={1} justifyContent={"space-between"}>
{actionManager.renderAction("loadScene")}
{actionManager.renderAction("saveScene")}
{renderExportDialog()}
{actionManager.renderAction("clearCanvas")}
<RoomDialog
isCollaborating={appState.isCollaborating}
collaboratorCount={appState.collaboratorCount}
onRoomCreate={onRoomCreate}
onRoomDestroy={onRoomDestroy}
/>