fix(icon): from_svg_bytes should not default to symbolic
This commit is contained in:
parent
2ffd1f32f4
commit
6793950bbc
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ pub fn from_raster_pixels(
|
||||||
/// Create a SVG handle from memory.
|
/// Create a SVG handle from memory.
|
||||||
pub fn from_svg_bytes(bytes: impl Into<Cow<'static, [u8]>>) -> Handle {
|
pub fn from_svg_bytes(bytes: impl Into<Cow<'static, [u8]>>) -> Handle {
|
||||||
Handle {
|
Handle {
|
||||||
symbolic: true,
|
symbolic: false,
|
||||||
data: Data::Svg(svg::Handle::from_memory(bytes)),
|
data: Data::Svg(svg::Handle::from_memory(bytes)),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue