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: clipping rect regression #2494

Merged
merged 4 commits into from
Apr 23, 2024

Conversation

fredizzimo
Copy link
Member

@fredizzimo fredizzimo commented Apr 23, 2024

What kind of change does this PR introduce?

This fixes the cacluation of the inner region clipping rectangle, which caused this regression.

It also reduces the range of the scrollable lines iterator, which previously did not take border into account. That's not really a problem in practice, since we always need to iterate one more line than the actual grid size anyway, and the clipping rect will take care of clipping it correctly. But it could enable transparency modes when no transparent lines are visible for example.

The floating_order field was removed again, since it's unused and causing clippy warnings.
The sort_order field was also unused and removed

Did this PR introduce a breaking change?

  • No

@9mm
Copy link
Contributor

9mm commented Apr 23, 2024

Amazing, this works for me !

Copy link

github-actions bot commented Apr 23, 2024

Test Results

  6 files  ±0    6 suites  ±0   18s ⏱️ +4s
110 tests ±0  110 ✅ ±0  0 💤 ±0  0 ❌ ±0 
644 runs  ±0  644 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 30e520b. ± Comparison against base commit fad98fc.

♻️ This comment has been updated with latest results.

@Kethku Kethku merged commit 3c2d77a into neovide:main Apr 23, 2024
12 checks passed
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.

None yet

3 participants