We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef46867 commit b0f2701Copy full SHA for b0f2701
1 file changed
Sources/ContentView.swift
@@ -339,7 +339,10 @@ enum SidebarResizeInteraction {
339
// Keep a generous drag target inside the sidebar itself, but make the
340
// terminal-side overlap very small so column-0 text selection still wins.
341
static let sidebarSideHitWidth: CGFloat = 6
342
- static let contentSideHitWidth: CGFloat = 2
+ // 4 pt matches the 4 pt padding used in GhosttySurfaceScrollView drop zone overlays
343
+ // (dropZoneOverlayFrame). This prevents column-0 text near the leading edge from
344
+ // accidentally triggering the sidebar resize when interacting with leftmost content.
345
+ static let contentSideHitWidth: CGFloat = 4
346
347
static var totalHitWidth: CGFloat {
348
sidebarSideHitWidth + contentSideHitWidth
0 commit comments