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

Mark Script button if it's tool in Scene Tree Editor #65088

Merged
merged 1 commit into from
Sep 1, 2022

Conversation

Mickeon
Copy link
Contributor

@Mickeon Mickeon commented Aug 30, 2022

I recall there was a proposal mentioning this, but I don't remember what it was.
This PR... uh... Images speak louder than words...

image

Also adds a note on the tooltip if the Script is tool.

The color is the same one used on the Script Editor's script list: a very saturated accent color.

@Calinou Calinou added this to the 4.0 milestone Aug 30, 2022
@Calinou Calinou added the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Aug 30, 2022
@Calinou
Copy link
Member

Calinou commented Aug 30, 2022

The concept looks good, but I'd probably use a less saturated color as it seems a bit extreme to me right now.

@Mickeon
Copy link
Contributor Author

Mickeon commented Aug 30, 2022

In that case it should be less saturated on the script list, as well? Just as a matter of consistency?

@Mickeon
Copy link
Contributor Author

Mickeon commented Aug 30, 2022

Now, no extra saturation is applied, it looks like this:
image

@Mickeon Mickeon force-pushed the editor-scene-tree-tool-icon branch from 112ebd9 to ddfbb24 Compare August 30, 2022 15:08
Also adds a note on the tooltip if the Script is tool.

The color is the same one used on the Script Editor's script list.
@Mickeon Mickeon force-pushed the editor-scene-tree-tool-icon branch from ddfbb24 to ad5ff9f Compare September 1, 2022 10:29
@akien-mga akien-mga merged commit d214956 into godotengine:master Sep 1, 2022
@akien-mga
Copy link
Member

Thanks!

@Mickeon Mickeon deleted the editor-scene-tree-tool-icon branch September 1, 2022 15:29
@akien-mga
Copy link
Member

Cherry-picked for 3.6.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants