ickshonpe

Results 158 comments of ickshonpe

Maybe this diagram can make it clearer what I wanted with this issue: ![Image](https://github.com/user-attachments/assets/f1f76ddd-3f0a-4100-a5dd-8664048413f4) The red dashes indicate the bounds of the text node in the layout. The rectangles are...

> @ickshonpe Would this do? Satisfies me, I'd like a second opinion though that renaming the module is the right action to take. I think maybe the `frame_count` module doesn't...

> > I think maybe the frame_count module doesn't belong in bevy_diagnostics at all but it might not matter and it's much less important. > > I agree, but I'm...

It seems like the single UI layout update after the window resize isn't enough. You could try a system something like this to force it to reupdate again for few...

I've never looked into the gizmos internals, I know it's immediate mode but is there any hidden implicit caching of the geometry? To have anything approaching reasonable performance, it will...

This is a bug. `JustifyText` isn't meant to affect single lines of text. The `Anchor` component controls Text2d's alignment relative to the position of its transform. The `Text2dBounds` constraint seems...

This is really odd: ```rust use bevy::color::palettes; use bevy::math::vec2; use bevy::prelude::*; use bevy::sprite::Anchor; use bevy::text::Text2dBounds; fn main() { App::new() .add_plugins(DefaultPlugins) .add_systems(Startup, setup) .run(); } fn setup(mut commands: Commands) { commands.spawn(Camera2dBundle::default());...

As a temporary fix you can add this system to `PostUpdate` after `update_text2d_layout`: ```rust fn fix_text2d_layout( mut query: Query, ) { for mut layout_info in query.iter_mut() { let mut min_x...

> I think I agree with this, but we should leave a quick migration guide for the removed feature. Just explain that it's always enabled. I left the resource optional,...

> On the one hand, features suck, and they're annoying to test and make it harder for users to discover these dev tools. On the other hand, this really is...