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:
Nathan Sobo 2023-12-06 12:52:41 -07:00 committed by GitHub
commit d7473ad6e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 1285 additions and 34 deletions

View file

@ -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);
})
});