mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-26 10:47:11 -06:00
M11: document the canvas show entry point
This commit is contained in:
committed by
bflatastic
parent
742a5c1af2
commit
c08955320c
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user