Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a button to reverse a Gradient resource in the editor #1724

Closed
Xrayez opened this issue Oct 25, 2020 · 2 comments
Closed

Add a button to reverse a Gradient resource in the editor #1724

Xrayez opened this issue Oct 25, 2020 · 2 comments
Milestone

Comments

@Xrayez
Copy link
Contributor

Xrayez commented Oct 25, 2020

Describe the project you are working on:
Goost - Godot Engine Extension.

See godotengine/godot#42855 and #1677.

Describe the problem or limitation you are having in your project:
See godotengine/godot#42855 (comment).

Describe the feature / enhancement and how it helps to overcome the problem or limitation:
I suggest that the editor should have a way to reverse color offsets, just like in image editing software.

Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:

Screenshot 2020-10-25 195052

Picture from https://graphicdesign.stackexchange.com/a/57225.

If this enhancement will not be used often, can it be worked around with a few lines of script?:
Trivial (but painful) for black and white gradients by switching leftmost and rightmost grabbers manually, not trivial for anything else.

Is there a reason why this should be core and not an add-on in the asset library?:
Already part of core.

@Xrayez Xrayez changed the title Reverse (invert) the Gradient colors in the editor Add ability to reverse Gradient in the editor Oct 25, 2020
@Xrayez Xrayez changed the title Add ability to reverse Gradient in the editor Add a button to reverse Gradient in the editor Oct 25, 2020
@Calinou Calinou added this to the 4.0 milestone Oct 25, 2020
@Calinou
Copy link
Member

Calinou commented Oct 25, 2020

I opened a pull request for this, but it needs to be redone to use a context menu option instead of the middle mouse button.

@Calinou Calinou changed the title Add a button to reverse Gradient in the editor Add a button to reverse a Gradient resource in the editor Sep 19, 2021
@Chaosus
Copy link
Member

Chaosus commented Nov 8, 2021

Fixed by godotengine/godot#53321

@Chaosus Chaosus closed this as completed Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants