Skip to content

Commit 6154a61

Browse files
committed
Tweak left inset of stoplight buttons on Tahoe in Compact theme. Issue 12721
1 parent 512bd51 commit 6154a61

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sources/iTermRootTerminalView.m

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,11 @@ - (NSEdgeInsets)insetsForStoplightHotbox {
543543
}
544544
break;
545545
case TAB_STYLE_COMPACT:
546-
insets.left = insets.right = 0;
546+
if (@available(macOS 26, *)) {
547+
insets.left = insets.right = 3;
548+
} else {
549+
insets.left = insets.right = 0;
550+
}
547551
break;
548552
case TAB_STYLE_DARK:
549553
case TAB_STYLE_LIGHT:

0 commit comments

Comments
 (0)