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

Fix user-contracted toolbox groups in editor incorrectly expanding on hover #18120

Merged
merged 10 commits into from May 6, 2022

Conversation

peppy
Copy link
Sponsor Member

@peppy peppy commented May 6, 2022

This made it nigh-impossible to actually set the state to expanded after contracting once, due to how the Expanded flag was being managed internally. It also made little sense from a UX perspective - if a user has chosen to hide a toolbox they wouldn't want it to forcefuly expand on hover.

I also changed colour denoting expanded state to be gray rather than yellow, as I found the yellow colour very non-descript in this case. Gray seems to work better?

@pull-request-size pull-request-size bot added size/L and removed size/M labels May 6, 2022
@bdach
Copy link
Collaborator

bdach commented May 6, 2022

The change makes sense to me. I've fixed code inspections and updated expectations of the test that was covering the old behaviour to match (surprising there was one to begin with, to be quite honest).

@bdach bdach requested a review from frenzibyte May 6, 2022 11:49
@frenzibyte frenzibyte enabled auto-merge May 6, 2022 14:54
@frenzibyte frenzibyte merged commit 4047983 into ppy:master May 6, 2022
@peppy peppy deleted the fix-toolbox-expansion branch May 8, 2022 03:49
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.

None yet

3 participants