M11: document the canvas show entry point

This commit is contained in:
FractalEncrypt
2026-10-19 23:34:16 +07:00
committed by bflatastic
parent 742a5c1af2
commit c08955320c
+1
View File
@@ -190,6 +190,7 @@ pub fn fit(app: &mut VectorcraftApp, how: &str) {
v.zoom = zoom;
}
/// Paint the document canvas, complete or cached artwork, navigation and tool overlays.
pub fn show(app: &mut VectorcraftApp, ui: &mut Ui) {
let t = Tokens::get(ui.ctx());
let full = ui.available_rect_before_wrap();