File tree Expand file tree Collapse file tree
packages/app/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ export function Titlebar(props: { update?: TitlebarUpdate }) {
242242 : undefined ,
243243 "align-self" : electronWindows ( ) ? "flex-start" : undefined ,
244244 } }
245- // data-tauri-drag-region
245+ data-tauri-drag-region
246246 onMouseDown = { drag }
247247 onDblClick = { maximize }
248248 >
@@ -434,9 +434,12 @@ export function Titlebar(props: { update?: TitlebarUpdate }) {
434434 state = { ! ! homeMatch ( ) ? "pressed" : undefined }
435435 />
436436
437- < div class = "flex min-w-0 flex-row items-center gap-1.5 overflow-x-auto no-scrollbar" ref = { tabScrollRef } >
437+ < div
438+ class = "flex min-w-0 flex-row items-center gap-1.5 overflow-x-auto no-scrollbar [app-region:no-drag]"
439+ ref = { tabScrollRef }
440+ >
438441 < div class = "flex min-w-0 flex-row items-center gap-1.5" >
439- < For each = { [ ... tabsStore , ... tabsStore , ... tabsStore ] } >
442+ < For each = { tabsStore } >
440443 { ( tab , i ) => {
441444 let ref ! : HTMLDivElement
442445
@@ -660,7 +663,7 @@ export function Titlebar(props: { update?: TitlebarUpdate }) {
660663 "flex items-center min-w-0 justify-end" : true ,
661664 "pr-2" : ! windows ( ) ,
662665 } }
663- // data-tauri-drag-region
666+ data-tauri-drag-region
664667 onMouseDown = { drag }
665668 >
666669 < div id = "opencode-titlebar-right" class = "flex items-center gap-1 shrink-0 justify-end" />
@@ -757,7 +760,6 @@ function TabNavItem(props: {
757760 const [ session ] = createResource (
758761 ( ) => {
759762 const ctx = dirSyncCtx ( )
760- console . log ( { ctx, sessionId : props . sessionId } )
761763 if ( ! ctx || ! props . sessionId ) return
762764 return [ props . sessionId , ctx ] as const
763765 } ,
You can’t perform that action at this time.
0 commit comments