SIGN IN SIGN UP
bevyengine / bevy UNCLAIMED

A refreshingly simple data-driven game engine built in Rust

0 0 59 Rust

Text2d size fix (#24399)

# Objective

Fixes #24384

## Solution

The layout size is stored in physical pixels so it needs to be
multiplied by the inverse scale factor when calculating anchor offsets.

## Testing

```
cargo run --example text2d
```
I
ickshonpe committed
d3dd1f91e194a63a6cdd51dff8996ba79e367627
Parent: 654bcde
Committed by GitHub <noreply@github.com> on 5/23/2026, 8:00:23 AM