Skip to content
This repository was archived by the owner on Feb 18, 2024. It is now read-only.

height < width doesn't work correctly #3

@robtfm

Description

@robtfm

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions