update
This commit is contained in:
@@ -5,9 +5,10 @@
|
||||
|
||||
interface Props {
|
||||
onOpenSettings: () => void;
|
||||
onOpenMarket: () => void;
|
||||
}
|
||||
|
||||
let { onOpenSettings }: Props = $props();
|
||||
let { onOpenSettings, onOpenMarket }: Props = $props();
|
||||
|
||||
let maximized = $state(false);
|
||||
|
||||
@@ -81,6 +82,10 @@
|
||||
|
||||
<div class="drag" data-tauri-drag-region></div>
|
||||
|
||||
<button class="icon-btn market" aria-label="Marketplace" title="Marketplace" aria-haspopup="dialog" onclick={onOpenMarket}>
|
||||
<Icon name="market" />
|
||||
</button>
|
||||
|
||||
<button class="icon-btn settings" aria-label="Settings" title="Settings" aria-haspopup="dialog" onclick={onOpenSettings}>
|
||||
<Icon name="settings" />
|
||||
</button>
|
||||
@@ -223,6 +228,10 @@
|
||||
align-self: stretch;
|
||||
}
|
||||
|
||||
.market {
|
||||
margin-right: var(--space-1);
|
||||
}
|
||||
|
||||
.settings {
|
||||
margin-right: var(--space-2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user