Skip to content

Fix removal of VCS icon #3

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

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Conversation

wp-colinrosen
Copy link
Contributor

The script was using the hCtBAQ class to select the VCS icon in the project view, however this no longer works in the 3.7.0-beta1 version of the Unity Hub (and presumably other future versions as well).
I'm guessing this is because the class name is generated at build time and changes with each release. Instead we can use the fact that the VCS element is the only element with the role="presentation" attribute set to select it in css and hide it.

Use the 'role="presentation"' attribute on the element to select it in
css rather than the generated classname, which is different per release.
@unitycoder unitycoder merged commit 726b823 into unitycoder:master Dec 11, 2023
@unitycoder
Copy link
Owner

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants