Closed engin-can closed 1 week ago
@ecan-dearx is attempting to deploy a commit to the tldraw Team on Vercel.
A member of the Team first needs to authorize it.
Hey, thanks for your pull request! Before we can merge your PR, you will need to sign our Contributor License Agreement by posting a comment that reads:
I have read and agree to the Contributor License Agreement.
I have read and agree to the Contributor License Agreement.
Wow, how did I never notice this one? If we do remove a shape like this, I suppose that means we can restore one of the commented out tools, too.
@steveruizok i'm closing this one - it's superseded by https://github.com/tldraw/tldraw/pull/3779 i'll pull over your re-ordering commit to the other PR
Correction, this isn't a bug! And if we remove the duplicated tool then actually the menu gets too shuffled. Sorry @engin-can, closing this one!
So are you saying you are keeping duplicate tools in this case? This doesn't make any sense...
It's only an issue if there's one item in the overflow menu (and that's been resolved in this PR: https://github.com/tldraw/tldraw/pull/3779)
The popout menu is meant to be stable and not shift as you select an item. (otherwise it would get confusing as items moved around) The item that is 'duplicated' is a slot that is the most-recent item selected from that menu.
It may seem strange but it's the intended design.
Solves issue where toolbar overflow menu has duplicate tools from main toolbar.
Before
After
Change Type
sdk
— Changes the tldraw SDKdotcom
— Changes the tldraw.com web appdocs
— Changes to the documentation, examples, or templates.vs code
— Changes to the vscode plugininternal
— Does not affect user-facing stuffbugfix
— Bug fixfeature
— New featureimprovement
— Improving existing featureschore
— Updating dependencies, other boring stuffgalaxy brain
— Architectural changestests
— Changes to any test codetools
— Changes to infrastructure, CI, internal scripts, debugging tools, etc.dunno
— I don't know