Skip to content

CanvasSpriteFlip and CanvasSpriteOptions don't work together. #1005

Description

When I try to use CanvasSpriteFlip.Vertical with CanvasSpriteOptions.ClampToSourceRect, the sprite doesn't render. How do we flip sprites without bleed?

Seems like you're utilizing out of bounds values to flip sprites. The sampling can be flipped without going out of bounds so that clamping still works as expected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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