# Objective Text2d entity's text needs to be recomputed when their bounds are changed, but it isn't. # Solution Change `update_text2d_layout` to query for `Ref<Text2dBounds>` and recompute the text if the bounds have changed. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
# Objective Text2d entity's text needs to be recomputed when their bounds are changed, but it isn't. # Solution Change `update_text2d_layout` to query for `Ref<Text2dBounds>` and recompute the text if the bounds have changed. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||