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

SplitView().isPaneVisible() returns the opposite value #113

Open
justvanrossum opened this issue Dec 17, 2019 · 3 comments
Open

SplitView().isPaneVisible() returns the opposite value #113

justvanrossum opened this issue Dec 17, 2019 · 3 comments

Comments

@justvanrossum
Copy link
Collaborator

It returns True when the pane is invisible and False when it's visible. isPaneVisible() calls getStateForPane_() which returns view.isHidden():

return view.isHidden()

@justvanrossum
Copy link
Collaborator Author

I'd make a PR but how many people would rely on the current behavior?

@typesupply
Copy link
Member

I'd make a PR but how many people would rely on the current behavior?

Probably not many since no one else has mentioned it. 😄 Do you want me to fix it? I'm fine with making the change.

@justvanrossum
Copy link
Collaborator Author

That would be great, thanks!

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

No branches or pull requests

2 participants