Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
Michal Srb 2020-08-13 04:35:31 -07:00 committed by GitHub
parent c9d5ec9277
commit c0dd870c6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 660 additions and 358 deletions

View file

@ -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()}