fix(type): adapt the corrupt-size mask test to the engine's doc accessor

The merged main no longer lets a caller assign through DocState: it takes no
DerefMut, and the test helper wrote st.doc directly, so the ui-egui lib test
target failed to build (E0594) and the CI archive step with it. Write through
doc_mut(), the way main's own type_tool canvas test does.
This commit is contained in:
hnoerenberg committed 2026-11-21 22:35:56 +01:00
1 parent a4c0bb9a68
commit ce776f0cb9
1 file changed
+1 -1
@@ -282,7 +282,7 @@ fn corrupt_layer_size(app: &mut PhotocraftApp, id: LayerId, bad: f32) {
r.style.size_pt = bad;
}
}
st.doc = std::sync::Arc::new(doc);
*st.doc_mut() = std::sync::Arc::new(doc);
st.revision += 1;
}