Better UI
This commit is contained in:
@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user