Skip to content
Snippets Groups Projects
Unverified Commit efe0e027 authored by John's avatar John Committed by GitHub
Browse files

Merge pull request #208 from atornity/patch-2

Update chapter_1.md
parents 93ecb1cd 24dfde2a
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@ fn startup(
font_mapping.set_default(asset_server.load("roboto.kayak_font"));
let mut widget_context = KayakRootContext::new();
widget_context.add_plugin(KayakWidgetsContextPlugin);
let parent_id = None;
// The rsx! macro expects a parent_id, a widget_context from the user.
......@@ -35,7 +36,7 @@ fn startup(
}}
/>
</KayakAppBundle>
}
};
commands.spawn(UICameraBundle::new(widget_context));
}
......
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