Skip to content

[Minor] Rename or hide bevy_ui::ui_node::Direction #6286

Closed

Description

@lewiszlw

I'm a new bie to game dev and writing my first 2d game with bevy.
Direction is basic component I think when developing games, but it conflicts with bevy_ui::ui_node::Direction when I want to import it, so I have to import it with mod name. I check the desc on bevy_ui::ui_node::Direction, this enum is for text direction, so is this reasonable to rename bevy_ui::ui_node::Direction to bevy_ui::ui_node::TextDirection, or may hide it in bevy::prelude::* if useless for game developers?

Activity

  1. added
    C-FeatureA new feature, making something new possible
    S-Needs-TriageThis issue needs to be labelled
    on Oct 18, 2022
  2. added
    A-UIGraphical user interfaces, styles, layouts, and widgets
    C-UsabilityA targeted quality-of-life change that makes Bevy easier to use
    and removed
    S-Needs-TriageThis issue needs to be labelled
    on Oct 18, 2022
  3. alice-i-cecile commented on Oct 18, 2022

    @alice-i-cecile
    Member

    Agreed. This should be fixed as we split the Style component.

  4. lewiszlw commented on Oct 18, 2022

    @lewiszlw
    MemberAuthor

    Nice, hope to see this improvement in next version. Closing.

  5. alice-i-cecile commented on Oct 18, 2022

    @alice-i-cecile
    Member

    #5513 isn't merged yet; I'm going to reopen this but mark that it'll be fixed by that PR :)

  6. added a commit that references this issue on Aug 19, 2024
    618cf7f
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

    A-UIGraphical user interfaces, styles, layouts, and widgetsC-FeatureA new feature, making something new possibleC-UsabilityA targeted quality-of-life change that makes Bevy easier to use

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions