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 CollapsibleWidget performance issue #358

Merged
merged 1 commit into from
Mar 25, 2021
Merged

Conversation

fgnm
Copy link
Contributor

@fgnm fgnm commented Mar 25, 2021

Hi, I've found a very huge performance degradation using CollapsibleWidget due to its abuse of scissors and batch flushes. Indeed, view should be clipped only when animation is running to give the desired effect, however when widget is fully expanded clip is no more necessary.

@yuripourre
Copy link

@fgnm That's nice! It makes sense, I wish I had the power to merge your PR.

Copy link

@yuripourre yuripourre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved!

Copy link
Owner

@kotcrab kotcrab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a nice improvement, thanks!

@kotcrab kotcrab merged commit cd136c4 into kotcrab:master Mar 25, 2021
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.

3 participants