chore: matches -> method
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user