Skip to content
Snippets Groups Projects
Commit c2aefd31 authored by John Mitchell's avatar John Mitchell
Browse files

Fixed SVGs

parent 9455f60b
No related branches found
No related tags found
No related merge requests found
......@@ -20,17 +20,23 @@ fn startup(
let parent_id = None;
rsx! {
<KayakAppBundle>
<KSvgBundle
svg={KSvg(svg)}
<ElementBundle
styles={KStyle {
position_type: StyleProp::Value(KPositionType::SelfDirected),
left: StyleProp::Value(Units::Pixels(10.0)),
top: StyleProp::Value(Units::Pixels(10.0)),
width: StyleProp::Value(Units::Pixels(800.0)),
height: StyleProp::Value(Units::Pixels(800.0)),
left: StyleProp::Value(Units::Pixels(-34.545261 * 7.6)),
top: StyleProp::Value(Units::Pixels(10.0 - 95.557219 * 7.6)),
..Default::default()
}}
/>
>
<KSvgBundle
svg={KSvg(svg)}
styles={KStyle {
width: StyleProp::Value(Units::Pixels(800.0)),
height: StyleProp::Value(Units::Pixels(800.0)),
..Default::default()
}}
/>
</ElementBundle>
</KayakAppBundle>
};
......
......@@ -951,8 +951,8 @@ pub fn queue_quads_inner(
color,
uv: [0.0; 4],
pos_size: [
sprite_rect.min.x,
sprite_rect.min.y,
0.0,
0.0,
sprite_rect.size().x,
sprite_rect.size().y,
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment