chore: matches -> method

This commit is contained in:
Edward Langley
2026-04-15 21:33:18 -07:00
parent 030865a0ff
commit 242ddebb49

View File

@ -422,7 +422,7 @@ impl<'a> GridWidget<'a> {
}
// Edit indicator
if matches!(self.mode, AppMode::Editing { .. }) && ri == sel_row {
if self.mode.is_editing() && ri == sel_row {
{
let buffer = self.buffers.get("edit").map(|s| s.as_str()).unwrap_or("");
let edit_x = col_x_at(sel_col);