From a276e2f21d5ce1e85a4cad6da30e756eb8088b07 Mon Sep 17 00:00:00 2001 From: Harrison Booth <73434116+Harrison-Booth@users.noreply.github.com> Date: Wed, 28 Oct 2026 12:04:36 -0500 Subject: [PATCH] Allow keyboard dispatch complexity --- crates/ui-egui/src/grid/keyboard.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ui-egui/src/grid/keyboard.rs b/crates/ui-egui/src/grid/keyboard.rs index b47811061..fb9aaeacf 100644 --- a/crates/ui-egui/src/grid/keyboard.rs +++ b/crates/ui-egui/src/grid/keyboard.rs @@ -5,6 +5,7 @@ use super::selection::add_mode_move; use super::{CellRef, Drag, SelectionMode, Sheet, SheetApp, json}; /// Grid keyboard handling when no text field has focus. +#[allow(clippy::cognitive_complexity)] // Keyboard input dispatch keeps related key behavior together. pub(super) fn keyboard(app: &mut SheetApp, ctx: &egui::Context, resp: &egui::Response, geo: &Geo, sh: &Sheet) { if !claim_grid_keyboard(app, ctx, resp) { return;