macos: make surface grab handle visible in light mode

This commit is contained in:
Mitchell Hashimoto
2025-12-30 13:06:41 -08:00
parent 6a1a4eee28
commit 43c7277a60

View File

@@ -15,13 +15,13 @@ extension Ghostty {
var body: some View {
VStack(spacing: 0) {
Rectangle()
.fill(Color.white.opacity(isHovering || isDragging ? 0.15 : 0))
.fill(Color.primary.opacity(isHovering || isDragging ? 0.15 : 0))
.frame(height: handleHeight)
.overlay(alignment: .center) {
if isHovering || isDragging {
Image(systemName: "ellipsis")
.font(.system(size: 14, weight: .semibold))
.foregroundColor(.white.opacity(0.5))
.foregroundColor(.primary.opacity(0.5))
}
}
.contentShape(Rectangle())