default panel position right

This commit is contained in:
Felix Roos 2023-12-29 15:26:47 +01:00
parent f9c1e46c01
commit 92024f68cf

View File

@ -20,7 +20,7 @@ export const defaultSettings = {
latestCode: '',
isZen: false,
soundsFilter: 'all',
panelPosition: 'bottom',
panelPosition: 'right',
userPatterns: '{}',
};
@ -57,7 +57,7 @@ export function useSettings() {
isLineWrappingEnabled: [true, 'true'].includes(state.isLineWrappingEnabled) ? true : false,
isFlashEnabled: [true, 'true'].includes(state.isFlashEnabled) ? true : false,
fontSize: Number(state.fontSize),
panelPosition: state.activeFooter !== '' ? state.panelPosition : 'bottom',
panelPosition: state.activeFooter !== '' ? state.panelPosition : 'right',
userPatterns: JSON.parse(state.userPatterns),
};
}