Skip to content

Add missing numeric trait implementations to Val #5525

Closed
@alice-i-cecile

Description

@alice-i-cecile

What problem does this solve or what need does it fill?

bevy_ui's Val type only has implementations for Add and AddAssign with floats.

What solution would you like?

Add:

  1. Subtraction, multiplication and division with floats.
  2. All four of these operations with Val itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-UIGraphical user interfaces, styles, layouts, and widgetsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useD-TrivialNice and easy! A great choice to get started with Bevy

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions