Fix info text width
- author
- Marijn Besseling <njirambem@gmail.com> · 2026-10-24 22:28 UTC
- commit
- c5508e751fcd2ae311e39717f31ee4f8863df366
- parent
- 4ee48e0640
- tree
- browse at this commit
1 file changed +1 -1
| src/selection.rs | +1 -1 |
src/selection.rs +1 -1
| @@ -236,7 +236,7 @@ fn spawn_tile_info(mut commands: Commands) { | ||
| 236 | 236 | position_type: PositionType::Absolute, |
| 237 | 237 | top: px(8), |
| 238 | 238 | left: px(8), |
| 239 | - max_width: percent(70), | |
| 239 | + max_width: Val::Percent(70.0), | |
| 240 | 240 | padding: UiRect::all(px(6)), |
| 241 | 241 | ..default() |
| 242 | 242 | }, |