mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-02 14:30:29 +00:00
desktop: add loading window and restructure rust (#12176)
This commit is contained in:
parent
5a1bf3a968
commit
b7ad8e459c
22 changed files with 858 additions and 439 deletions
|
|
@ -152,6 +152,7 @@ export function Titlebar() {
|
|||
<header
|
||||
class="h-10 shrink-0 bg-background-base relative grid grid-cols-[auto_minmax(0,1fr)_auto] items-center"
|
||||
style={{ "min-height": minHeight() }}
|
||||
onMouseDown={drag}
|
||||
onDblClick={maximize}
|
||||
>
|
||||
<div
|
||||
|
|
@ -159,7 +160,6 @@ export function Titlebar() {
|
|||
"flex items-center min-w-0": true,
|
||||
"pl-2": !mac(),
|
||||
}}
|
||||
onMouseDown={drag}
|
||||
>
|
||||
<Show when={mac()}>
|
||||
<div class="h-full shrink-0" style={{ width: `${72 / zoom()}px` }} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue