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 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-02 10:07:47 +03:00
1 parent e8a4f1316f
commit 717ae25b67
1 file changed
+2 -2
+2 -2
View File
@@ -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],