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

Use a fixed size for virtual_stack #252

Merged
merged 1 commit into from
Jan 4, 2024
Merged

Conversation

Zoxc
Copy link
Contributor

@Zoxc Zoxc commented Jan 4, 2024

This changed virtual_stack to use a fixed size based on the provided item sizes. The current visible items are instead positioned absolutely relative to it, making them no longer contribute to the virtual_stack's size. This keeps the size of virtual_stack stable and helps prevent layout loops.

Fixes #246.

@dzhou121 dzhou121 merged commit f466141 into lapce:main Jan 4, 2024
7 checks passed
@Zoxc Zoxc deleted the virtual_stack_size branch January 4, 2024 13:22
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.

virtual_stack within a v_stack get's into an infinite loop
2 participants