-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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 TabContainer
drag to rearrange issue
#83966
Conversation
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.
A blank line separating the if
statements from the return
s below would nice.
Also, I wonder if there's some C++ magic that would make the _handle_*_data()
methods from TabBar
only accessible to TabContainer
, as having them be completely public leaves a bit of a sour taste in my mouth. 😛
I'd argue it's redundant here.
Friend class. Although not sure if it can be used without including TabContainer in TabBar. |
I'm fine with just the
Yeah, I wanted to avoid putting |
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.
Oh well, it's fine then.
Thanks! |
TabBar
andTabContainer
dragging issues #83637TabContainer
was usingTabBar
's dragging logic when drag to rearrange enabled was true, and it's own dragging logic when it was false.Since it was using
TabBar
'sdrag_to_rearrange_enabled
, it prevented proper forwarding toTabContainer
.