Expose scenario tool state to captured removal guards

This commit is contained in:
2026-09-12 05:24:49 -07:00
parent cb46ef4054
commit 4c387ccd64
+1 -1
View File
@@ -595,7 +595,7 @@ impl State {
}
created(command, draft.parent)
}
pub(super) fn canvas_tool(&self, owner: Id) -> CanvasTool {
pub(crate) fn canvas_tool(&self, owner: Id) -> CanvasTool {
self.canvas_tool
.filter(|(id, _)| *id == owner)
.map(|(_, tool)| tool)