From 717ae25b6708ba4e57a21661f3fddaa6a0517c39 Mon Sep 17 00:00:00 2001 From: Hakan Seven Date: Fri, 2 Oct 2026 10:07:47 +0300 Subject: [PATCH] fix(bench): pass the navigation cursor to selection_overlay #1577 replaced its pan-mode flag with NavCursor; the overlay benchmark still passed a bool and no longer compiled. Co-Authored-By: Claude Opus 5.5 --- benches/performance_benchmarks.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benches/performance_benchmarks.rs b/benches/performance_benchmarks.rs index ffae1f7a2..2cc078a0d 100644 --- a/benches/performance_benchmarks.rs +++ b/benches/performance_benchmarks.rs @@ -58,7 +58,7 @@ use OpenCADStudio::snap::Snapper; use OpenCADStudio::ui::icons::{self, CHECK}; use OpenCADStudio::ui::overlay::{ grid_segments, selection_overlay, should_reuse, CrosshairOptions, GridCanvasState, - GridKey, GridParams, GridStyle, GripMarker, OstTrackPoint, SelectionVisualOptions, + GridKey, GridParams, GridStyle, GripMarker, NavCursor, OstTrackPoint, SelectionVisualOptions, UcsIconParams, }; use OpenCADStudio::ui::properties::LinetypeItem; @@ -1512,7 +1512,7 @@ fn build_selection_overlay_element( vec![], None, None, - false, + NavCursor::None, false, false, [0.1, 0.1, 0.1, 1.0],