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.
This commit is contained in:
dotCooCoo committed 2026-11-28 15:17:24 -08:00
1 parent 2370d7ffe8
commit 8d782b15ac
1 file changed
+1 -1
+1 -1
View File
@@ -83,7 +83,7 @@ pub struct CanvasCache {
/// [`VectorcraftApp::selection_bounds`] for (document uid, revision).
pub selection_bounds: Option<((u64, u64), Option<vectorcraft_geom::Rect>)>,
/// The selection's outlines, anchors and dots the canvas drew last ([`canvas::selection::SelectionMarks`]).
pub selection_marks: Option<canvas::selection::SelectionMarks>,
pub(crate) selection_marks: Option<canvas::selection::SelectionMarks>,
/// [`VectorcraftApp::content_bounds_of`] for (document uid, revision), one entry for each open document.
pub content_bounds: Vec<((u64, u64), Option<vectorcraft_geom::Rect>)>,
/// Whether the 3D and Materials panel's Export 3D Object button is available (a selected