From 8d782b15ac796bebfff8a77b23b488da32ef1cf9 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 28 Nov 2026 15:17:24 -0800 Subject: [PATCH] Canvas: the kept selection marks field is crate-visible SelectionMarks is pub(crate), so the CanvasCache field that holds it is too; clippy's private_interfaces lint refused a pub field of that type. --- crates/ui-egui/src/caches.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/caches.rs b/crates/ui-egui/src/caches.rs index 28ffd1c184..61f572a46c 100644 --- a/crates/ui-egui/src/caches.rs +++ b/crates/ui-egui/src/caches.rs @@ -83,7 +83,7 @@ pub struct CanvasCache { /// [`VectorcraftApp::selection_bounds`] for (document uid, revision). pub selection_bounds: Option<((u64, u64), Option)>, /// The selection's outlines, anchors and dots the canvas drew last ([`canvas::selection::SelectionMarks`]). - pub selection_marks: Option, + pub(crate) selection_marks: Option, /// [`VectorcraftApp::content_bounds_of`] for (document uid, revision), one entry for each open document. pub content_bounds: Vec<((u64, u64), Option)>, /// Whether the 3D and Materials panel's Export 3D Object button is available (a selected