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 [hack] for crash when dragging a tab to the right edge of a tabbar from another tabbar. #1180

Merged
merged 2 commits into from
Sep 12, 2023

Conversation

AlexMitchellMus
Copy link
Collaborator

@AlexMitchellMus AlexMitchellMus commented Sep 12, 2023

We need to have our own TabButtonBar, that is able to work correctly with DnD & Overflow

This fix forces all tabs dragged into the right edge of a tabbar to be added before the last. Which stops the index being incorrect if the the tabbar goes into overflow, with the caveat that it may not look correct when tabs move with animating.

…r from another tabbar.

We need to have our own TabButtonBar, that is able to work correctly with DnD & Overflow

This fix forces all tabs dragged into the right edge of a tabbar to be added before the last. Which stops the index being incorrect if the the tabbar goes into overflow.
@timothyschoen timothyschoen merged commit 3809e77 into plugdata-team:main Sep 12, 2023
@AlexMitchellMus AlexMitchellMus deleted the fix-tab-crash branch September 25, 2023 15:25
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