Changed chat behaviour

added recoil value isMobile to determine which chat to display and
style. #1978

changed the player to actually span across the viewport without the
black borders around it.
This commit is contained in:
t1enne
2022-07-03 12:36:30 +02:00
parent 4fcdfdc730
commit d12712a107
10 changed files with 74 additions and 34 deletions

View File

@@ -76,6 +76,11 @@ export const appStateAtom = atom<AppStateOptions>({
default: makeEmptyAppState(),
});
export const isMobileAtom = atom<boolean | undefined>({
key: 'isMobileAtom',
default: undefined,
});
export const chatVisibleToggleAtom = atom<boolean>({
key: 'chatVisibilityToggleAtom',
default: true,