text: use quad zindex when drawing labels
This commit is contained in:
parent
c654987ae3
commit
fa9348fe2b
@ -77,7 +77,7 @@ impl Label {
|
|||||||
&texture_atlases,
|
&texture_atlases,
|
||||||
&mut render_resource_bindings,
|
&mut render_resource_bindings,
|
||||||
&mut asset_render_resource_bindings,
|
&mut asset_render_resource_bindings,
|
||||||
Vec3::new(position.x(), position.y(), 0.0),
|
Vec3::new(position.x(), position.y(), quad.z_index),
|
||||||
&label.style,
|
&label.style,
|
||||||
&label.text,
|
&label.text,
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user