Better UI

This commit is contained in:
2025-10-15 11:27:58 +02:00
parent bbdb01200e
commit 65c3422610
6 changed files with 270 additions and 183 deletions

View File

@ -1,4 +1,4 @@
type PanelPosition = 'left' | 'right' | 'bottom';
type PanelPosition = 'left' | 'right';
export class UIState {
sidePanelVisible = $state(true);
@ -21,8 +21,6 @@ export class UIState {
cyclePanelPosition() {
if (this.sidePanelPosition === 'right') {
this.sidePanelPosition = 'left';
} else if (this.sidePanelPosition === 'left') {
this.sidePanelPosition = 'bottom';
} else {
this.sidePanelPosition = 'right';
}