diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-15 17:24:57 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-15 17:26:23 -0300 |
| commit | ebe561b8083782a105a2ee29fb0a031d1c2427d3 (patch) | |
| tree | 73d8fae6c7345449b6235b54a44eba87655823d9 /src/macos | |
| parent | 6560da36cf8111575cd3fec443a42de6eff82f5f (diff) | |
| download | pardes-ebe561b8083782a105a2ee29fb0a031d1c2427d3.tar.gz pardes-ebe561b8083782a105a2ee29fb0a031d1c2427d3.zip | |
Keep column grips blank and muted in every focus state
Diffstat (limited to 'src/macos')
| -rw-r--r-- | src/macos/Sources/PardesView.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macos/Sources/PardesView.swift b/src/macos/Sources/PardesView.swift index 4c122a13..ba05ea51 100644 --- a/src/macos/Sources/PardesView.swift +++ b/src/macos/Sources/PardesView.swift @@ -1173,7 +1173,7 @@ final class PardesView: NSView { private func drawTagGrip(_ ctx: CGContext, values: [Int], canonical: UnsafePointer<pardes_cell_s>, cols: Int, rows: Int) { let width = Int(pardes_grip_columns()) let x = values[4] - width, y = values[5] - if values[1] == 0 || x < 0 || x >= cols || y >= rows || taglines.height < 6 || taglines.width < 3 { return } + 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) } if text != " " { return } |
