@@ -101,11 +101,12 @@ export function FloatingWorkingControl(props: {
101101 const [ previewWidth , setPreviewWidth ] = useState ( 0 ) ;
102102 const agents = props . agents ;
103103 const hasAgents = agents !== null ;
104+ // Only reserve the scroll button's slot while it is visible.
105+ const reservedWidth = props . showScrollToEnd ? CONTROL_HEIGHT + 32 : 16 ;
104106 const availableLabelWidth = Math . max (
105107 0 ,
106108 Math . min ( overlayWidth , windowWidth ) -
107- CONTROL_HEIGHT -
108- 32 -
109+ reservedWidth -
109110 ( action !== null ? actionWidth : 0 ) -
110111 ( hasQueue ? queueWidth : 0 ) -
111112 ( hasAgents ? agentsWidth : 0 ) -
@@ -186,7 +187,7 @@ export function FloatingWorkingControl(props: {
186187 props . status !== null ? (
187188 < View
188189 pointerEvents = { statusInteractive ? "box-none" : "none" }
189- className = "h-11 items-center justify-center"
190+ className = "h-11 items-center justify-center overflow-hidden "
190191 >
191192 < Animated . View className = "h-11" style = { capsuleSizerStyle } />
192193 < View
@@ -272,7 +273,7 @@ export function FloatingWorkingControl(props: {
272273 className = "h-11 flex-row items-center gap-1.5 px-3 active:opacity-70"
273274 >
274275 { hasStatus || hasPreview ? < View className = "absolute left-0 h-4 w-px bg-border" /> : null }
275- < SymbolView name = "person.2" size = { 13 } tintColorClassName = "accent-foreground-muted " />
276+ < SymbolView name = "person.2" size = { 13 } tintColorClassName = "accent-foreground" />
276277 < Text className = "font-t3-medium text-xs tabular-nums" numberOfLines = { 1 } >
277278 { agents . label }
278279 </ Text >
@@ -291,7 +292,7 @@ export function FloatingWorkingControl(props: {
291292 { hasStatus || hasPreview || hasAgents ? (
292293 < View className = "absolute left-0 h-4 w-px bg-border" />
293294 ) : null }
294- < SymbolView name = "list.number" size = { 13 } tintColorClassName = "accent-foreground-muted " />
295+ < SymbolView name = "list.number" size = { 13 } tintColorClassName = "accent-foreground" />
295296 < Text className = "shrink font-t3-medium text-xs tabular-nums" numberOfLines = { 1 } >
296297 { props . queuedCount } queued
297298 </ Text >
@@ -395,7 +396,7 @@ function CompactingLabel(props: { readonly onLayout: (event: LayoutChangeEvent)
395396 < SymbolView
396397 name = "arrow.down.right.and.arrow.up.left"
397398 size = { 13 }
398- tintColorClassName = "foreground"
399+ tintColorClassName = "accent- foreground"
399400 type = "monochrome"
400401 />
401402 < Text className = "font-t3-medium text-xs text-foreground" > Compacting…</ Text >
@@ -452,7 +453,7 @@ function FloatingStatusLabel(props: {
452453 onLayout = { props . onLayout }
453454 onPress = { props . status . onPress }
454455 >
455- < SymbolView name = "text.bubble" size = { 13 } tintColorClassName = "foreground" />
456+ < SymbolView name = "text.bubble" size = { 13 } tintColorClassName = "accent- foreground" />
456457 < Text className = "shrink font-t3-medium text-xs text-foreground" numberOfLines = { 1 } >
457458 { props . status . label }
458459 </ Text >
@@ -494,7 +495,7 @@ function FloatingStatusLabel(props: {
494495 < SymbolView
495496 name = { props . status . state === "settled" ? "checkmark.circle" : "clock" }
496497 size = { 13 }
497- tintColorClassName = "foreground"
498+ tintColorClassName = "accent- foreground"
498499 type = "monochrome"
499500 />
500501 < Text className = "shrink font-t3-medium text-xs text-foreground" numberOfLines = { 1 } >
@@ -516,7 +517,7 @@ function FloatingStatusLabel(props: {
516517 < SymbolView
517518 name = { props . status . waiting ? "person.2" : "terminal" }
518519 size = { 13 }
519- tintColorClassName = "foreground"
520+ tintColorClassName = "accent- foreground"
520521 type = "monochrome"
521522 />
522523 < Text className = "shrink font-t3-medium text-xs text-foreground" numberOfLines = { 1 } >
@@ -557,7 +558,12 @@ function FloatingStatusLabel(props: {
557558 className = "gap-2"
558559 onLayout = { props . onLayout }
559560 >
560- < SymbolView name = "target" size = { 13 } tintColorClassName = "foreground" type = "monochrome" />
561+ < SymbolView
562+ name = "target"
563+ size = { 13 }
564+ tintColorClassName = "accent-foreground"
565+ type = "monochrome"
566+ />
561567 < Text className = "shrink font-t3-medium text-xs text-foreground" numberOfLines = { 1 } >
562568 { props . status . label }
563569 </ Text >
@@ -575,7 +581,7 @@ function FloatingStatusLabel(props: {
575581 < SymbolView
576582 name = "arrow.triangle.branch"
577583 size = { 13 }
578- tintColorClassName = "foreground"
584+ tintColorClassName = "accent- foreground"
579585 type = "monochrome"
580586 />
581587 < ShimmeringWorkContent
0 commit comments