From e462d566f710e714e3b7176672e98fc82a6dea62 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 15 Sep 2026 17:30:38 -0300 Subject: Separate pane and column grip hit areas from tagline text with a small gap --- src/macos/Sources/PardesView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/macos/Sources') diff --git a/src/macos/Sources/PardesView.swift b/src/macos/Sources/PardesView.swift index ba05ea51..e2234264 100644 --- a/src/macos/Sources/PardesView.swift +++ b/src/macos/Sources/PardesView.swift @@ -1172,7 +1172,7 @@ final class PardesView: NSView { private func drawTagGrip(_ ctx: CGContext, values: [Int], canonical: UnsafePointer, cols: Int, rows: Int) { let width = Int(pardes_grip_columns()) - let x = values[4] - width, y = values[5] + let x = values[4] - Int(pardes_tag_text_inset()), y = values[5] if values[1] != 2 || x < 0 || x >= cols || y >= rows || taglines.height < 6 || taglines.width < 3 { return } var cell = canonical[y * cols + x] let text = withUnsafeBytes(of: &cell.text) { String(decoding: $0.prefix(Int(cell.len)), as: UTF8.self) } -- cgit v1.3