Document geometry module and replace zero
method with default
(#3515)
Nothing earth-shattering here, but all our geometry types are now fully documented. Release Notes: - N/A
This commit is contained in:
commit
d7473ad6e7
8 changed files with 1285 additions and 34 deletions
|
@ -1183,7 +1183,7 @@ impl<'a> WindowContext<'a> {
|
|||
}
|
||||
|
||||
let available_space = cx.window.viewport_size.map(Into::into);
|
||||
root_view.draw(Point::zero(), available_space, cx);
|
||||
root_view.draw(Point::default(), available_space, cx);
|
||||
})
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue