bevy_ninepatch icon indicating copy to clipboard operation
bevy_ninepatch copied to clipboard

height < width doesn't work correctly

Open robtfm opened this issue 1 year ago • 0 comments

when height is less than width, it seems like the height is set equal to the width. this is from the change_size example with the size being output to console:

image

this is on 0.10 - i couldn't see a main-tracking branch. i tried to dig into it but couldn't see where the issue came from. may be bevy's UiImage looking to aspect ratio before container size?

thanks!

robtfm avatar Jun 20 '23 11:06 robtfm