diff options
Diffstat (limited to 'src/File.zig')
| -rw-r--r-- | src/File.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/File.zig b/src/File.zig index 05d02673..5b3c6bb7 100644 --- a/src/File.zig +++ b/src/File.zig @@ -1933,7 +1933,7 @@ pub fn drawGutter(p: *Pardes, s: *Surface, pane: *Pane, r: pardes.Rect, tx: u16, const gcrow = if (pane.body.cur_pinned) pane.body.cur_row else @as(i32, gcur.y) + goff; const typing_body = pane.focus == .body and (pane.prompt == .none or pane.prompt == .del_side or pane.prompt == .repl_choice); const cur_line: i32 = if (active and typing_body) gcrow else std.math.minInt(i32); - // the body's first row, the way renderPane derives it (Tagbottom) + // the body's first row, the way renderPane derives it const body_y = p.bodyTop(pane, r); const context_bg = p.theme().tag_bg; for (0..@min(pane.context_rows, body_h)) |context_row| { |
