fix anchor descriptions

This commit is contained in:
Carter Anderson 2020-05-04 11:03:52 -07:00
parent 076fef873a
commit 916978307b

View file

@ -57,7 +57,7 @@ fn setup(world: &mut World, resources: &mut Resources) {
.add_entity(Camera2dEntity { .add_entity(Camera2dEntity {
..Default::default() ..Default::default()
}) })
// bottom left anchor with vertical fill // left vertical fill
.add_entity(UiEntity { .add_entity(UiEntity {
node: Node::new( node: Node::new(
math::vec2(0.0, 0.0), math::vec2(0.0, 0.0),
@ -67,7 +67,7 @@ fn setup(world: &mut World, resources: &mut Resources) {
material: color_materials.add(Color::rgb(0.02, 0.02, 0.02).into()), material: color_materials.add(Color::rgb(0.02, 0.02, 0.02).into()),
..Default::default() ..Default::default()
}) })
// top right anchor with vertical fill // right vertical fill
.add_entity(UiEntity { .add_entity(UiEntity {
node: Node::new( node: Node::new(
math::vec2(0.0, 0.0), math::vec2(0.0, 0.0),