Refactoring

This commit is contained in:
2025-10-15 01:41:52 +02:00
parent e492c03f15
commit 8e6b07797c
11 changed files with 180 additions and 173 deletions

View File

@ -1,6 +1,6 @@
type PanelPosition = 'left' | 'right' | 'bottom';
class UIState {
export class UIState {
sidePanelVisible = $state(true);
sidePanelPosition = $state<PanelPosition>('right');
@ -60,5 +60,3 @@ class UIState {
this.saveAsDialogVisible = false;
}
}
export const uiState = new UIState();