Skip to content

Taffy points actually seem to represent pixel sizes #236

@alice-i-cecile

Description

@alice-i-cecile

@alice-i-cecile I believe that (contrary to the documentation), Points in taffy actually are pixels. I've been meaning to open an issue suggesting we rename the variant. Although I suppose, given that we only have one absolute unit, it could actually represent anything and it wouldn't make any difference. But for example, our generated tests use pixel values when running in chrome and Points in taffy.

Originally posted by @nicoburns in #232 (comment)

This is also how they're used upstream in Bevy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions