-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Update resize handle styling in template part focus mode #36410
Conversation
Size Change: +113 B (0%) Total Size: 1.09 MB
ℹ️ View Unchanged
|
I think it's ok if they look a bit like scrollbars, perhaps even thinner. The icon can be actually confused with movers, no? |
Nice! The clearer color could work if it doesn't steal too much attention in the context of the whole interface. |
This reverts commit bd6fa21.
Do you think the handles are too long/tall if we compare them with the segmented component in inspector, or are you considering larger parts and/or have sufficient clickable area? |
Sorry, I'm unsure what you're referring to there. |
Ah, the highlight style on the active tab? It may be tricky to establish any kind of relationship there since the tab can be different lengths based on the locale. It doesn't feel quite so important because oftentimes the inspector will be hidden anyway. There may be some value in making the handle a height relative to the canvas, though 🤔 |
Any objections to merging this one? Here's the before/after: Beforebefore.mp4After (this PR)after.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good 👍
Looks good, land it! We can always tweak further if we need to. |
Having worked in template part focus mode for some time, I have occasionally been tricked in to thinking the resize handle is a scrollbar. This PR explores some changes we could make to address that.
I also updated the cursor to
ew-resize
which seems more appropriate.We may only need one or two of the changes above. But by adding them all initially we can refine from here.