Update MobileMenu.tsx
This commit is contained in:
parent
d3857fbb35
commit
554985f749
@ -179,7 +179,7 @@ export const MobileMenu = ({
|
|||||||
(appState.editingElement &&
|
(appState.editingElement &&
|
||||||
!isTextElement(appState.editingElement)),
|
!isTextElement(appState.editingElement)),
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="App-bottom-bar"
|
className="App-bottom-bar"
|
||||||
style={{
|
style={{
|
||||||
@ -206,9 +206,11 @@ export const MobileMenu = ({
|
|||||||
)
|
)
|
||||||
.map(([clientId, client]) => (
|
.map(([clientId, client]) => (
|
||||||
<React.Fragment key={clientId}>
|
<React.Fragment key={clientId}>
|
||||||
{actionManager.renderAction("goToCollaborator", {
|
{actionManager.renderAction(
|
||||||
id: clientId,
|
"goToCollaborator", {
|
||||||
})}
|
id: clientId,
|
||||||
|
}
|
||||||
|
)}
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
))}
|
))}
|
||||||
</UserList>
|
</UserList>
|
||||||
@ -220,7 +222,10 @@ export const MobileMenu = ({
|
|||||||
) : appState.openMenu === "shape" &&
|
) : appState.openMenu === "shape" &&
|
||||||
!viewModeEnabled &&
|
!viewModeEnabled &&
|
||||||
showSelectedShapeActions(appState, elements) ? (
|
showSelectedShapeActions(appState, elements) ? (
|
||||||
<Section className="App-mobile-menu" heading="selectedShapeActions">
|
<Section
|
||||||
|
className="App-mobile-menu"
|
||||||
|
heading="selectedShapeActions"
|
||||||
|
>
|
||||||
<SelectedShapeActions
|
<SelectedShapeActions
|
||||||
appState={appState}
|
appState={appState}
|
||||||
elements={elements}
|
elements={elements}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user