Skip to content

Conversation

@HeikoKlare
Copy link
Contributor

With recent changes to the rounding of pixel-to-point conversions the calculated sizes became too small in several use cases, leading to cut-off elements. This change adapts the rounding method to reduce the number of relevant cut-offs.

Follow-up to:

How to test

Issues caused by pixel/point conversion roundings can best be seen at 125% or 175% monitor zoom.

Before at 125%:
image

After at 125%:
image

@github-actions
Copy link
Contributor

github-actions bot commented Oct 30, 2025

Test Results

  118 files  + 3    118 suites  +3   14m 41s ⏱️ + 3m 40s
4 650 tests +37  4 633 ✅ +36  17 💤 +1  0 ❌ ±0 
  330 runs  +18    326 ✅ +17   4 💤 +1  0 ❌ ±0 

Results for commit c2c78ac. ± Comparison against base commit 4722846.

♻️ This comment has been updated with latest results.

@HeikoKlare HeikoKlare marked this pull request as ready for review October 30, 2025 18:45
With recent changes to the rounding of pixel-to-point conversions the
calculated sizes became too small in several use cases, leading to
cut-off elements. This change adapts the rounding method to reduce the
number of relevant cut-offs.
@HeikoKlare HeikoKlare force-pushed the pixelToPoint-no-round-down branch from ed21ba2 to c2c78ac Compare October 31, 2025 08:24
@akoch-yatta akoch-yatta linked an issue Oct 31, 2025 that may be closed by this pull request
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.

Cut-off controls due to rounding down

1 participant