summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-07-20 20:16:25 +0300
committerPaul Buetow <paul@buetow.org>2026-07-20 20:16:25 +0300
commitdc127b5089656944dab7ab72799d0755ca122803 (patch)
treee72e2ee8b30b0c4ef831b01cf6a1e3b0ca9a5b6b /src/app.c
parent0747e161dd4fd089346b0c14d38229d612e53a5f (diff)
grid: j/k move the cursor down/up one row; stop blanking thumbnails on nav
_on_nav_changed rebuilt every cell on every navigator "changed" signal, so a single h/l/j/k press destroyed and recreated all 613 GtkPicture cells (each re-requesting its thumbnail) and the grid flashed blank. Now it only does a full ggaze_grid_refresh when the file count actually changed (rescan/trash/move); a mere current/mark change just refreshes mark badges in place and re-selects the cursor. Add j/k row navigation: ggaze_grid_move_cursor finds the cell in the adjacent row closest to the current column via gtk_widget_compute_bounds and sets navigator.current to it (so the header / large-view preview track the move and the light nav-changed path re-selects it). h/l stay linear via the existing global win.next/prev. Also document j/k in the ? shortcuts overlay.
Diffstat (limited to 'src/app.c')
0 files changed, 0 insertions, 0 deletions