Introduce first-class svg module in iced_native

This commit is contained in:
Héctor Ramón Jiménez 2021-10-31 16:24:31 +07:00
parent c4186a71b7
commit 9a3c81f336
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
11 changed files with 106 additions and 98 deletions

View file

@ -246,7 +246,7 @@ impl backend::Image for Backend {
impl backend::Svg for Backend {
fn viewport_dimensions(
&self,
_handle: &iced_native::widget::svg::Handle,
_handle: &iced_native::svg::Handle,
) -> (u32, u32) {
(50, 50)
}