mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
parent
c9d5ec9277
commit
c0dd870c6e
33 changed files with 660 additions and 358 deletions
|
@ -43,6 +43,7 @@ import { loadLibrary, saveLibrary } from "../data/localStorage";
|
|||
import { ToolButton } from "./ToolButton";
|
||||
import { saveLibraryAsJSON, importLibraryFromJSON } from "../data/json";
|
||||
import { muteFSAbortError } from "../utils";
|
||||
import { BackgroundPickerAndDarkModeToggle } from "./BackgroundPickerAndDarkModeToggle";
|
||||
|
||||
interface LayerUIProps {
|
||||
actionManager: ActionManager;
|
||||
|
@ -372,7 +373,11 @@ const LayerUI = ({
|
|||
onRoomDestroy={onRoomDestroy}
|
||||
/>
|
||||
</Stack.Row>
|
||||
{actionManager.renderAction("changeViewBackgroundColor")}
|
||||
<BackgroundPickerAndDarkModeToggle
|
||||
actionManager={actionManager}
|
||||
appState={appState}
|
||||
setAppState={setAppState}
|
||||
/>
|
||||
</Stack.Col>
|
||||
</Island>
|
||||
</Section>
|
||||
|
@ -580,7 +585,7 @@ const LayerUI = ({
|
|||
zenModeEnabled && "transition-right"
|
||||
}`}
|
||||
>
|
||||
<GitHubCorner />
|
||||
<GitHubCorner appearance={appState.appearance} />
|
||||
</aside>
|
||||
}
|
||||
{renderFooter()}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue