mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: library actions inside the sidebar (#5638)
This commit is contained in:
parent
59a1d192d2
commit
553b493f37
1 changed files with 47 additions and 45 deletions
|
@ -432,6 +432,7 @@ const LayerUI = ({
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{!device.isMobile && (
|
{!device.isMobile && (
|
||||||
|
<>
|
||||||
<div
|
<div
|
||||||
className={clsx("layer-ui__wrapper", {
|
className={clsx("layer-ui__wrapper", {
|
||||||
"disable-pointerEvents":
|
"disable-pointerEvents":
|
||||||
|
@ -478,10 +479,11 @@ const LayerUI = ({
|
||||||
{t("buttons.scrollBackToContent")}
|
{t("buttons.scrollBackToContent")}
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
|
</div>
|
||||||
{appState.isLibraryOpen && (
|
{appState.isLibraryOpen && (
|
||||||
<div className="layer-ui__sidebar">{libraryMenu}</div>
|
<div className="layer-ui__sidebar">{libraryMenu}</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue