Skip to content

Distortion at the edges of an Overflow::Hidden UI node #4057

@Teajey

Description

@Teajey

Bevy version

Tested with 0.6.0 and 0.6.1

Operating system & version

macOS 11.3.1

What you did

Created a scrolling text animation using five TextBundles inside an Overflow::Hidden NodeBundle

What you expected to happen

That the text scrolls by undistorted. This was the behavior until I came back to my code after a couple of hours and it seemed to have spontaneously changed.

What actually happened

The text is distorted near the end of the UI node, and escapes it's bounds despite overflow: Overflow::Hidden being set.

Additional information

Here's a screen capture:
https://user-images.githubusercontent.com/21069848/155900989-0f5b1794-e15b-4c34-8dd0-f43309352b3c.mov

And here it is again slowed down 4x:
https://user-images.githubusercontent.com/21069848/155901017-26d338fe-8a1c-4fde-a081-94efc98bdd1e.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenA-UIGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions