Skip to content

TimeControl changes the sprite of all buttons #60

Description

@MinDoUser

The Issue

Basically this is a minor visual thing where the current implementation of the TimeControl UI changes the sprites of all buttons (with a few exceptions)

This is how the buttons usually look: (notice the "rounded" corners):
Image

This is how they look with TimeControl enabled: (notice how they are just rectangles, no rounded corners)
Image

I think this is caused by the fact, that all buttons in mindustry (except for a few) share the same ButtonStyle instance and by modifying this instance on any specific button actor (in this case, the button that shows the current time multiplier) the style of all buttons will be affected.

I would appreciate if you fixed this minor "bug".

(This might be intentional, but I don't think so...)

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions