Skip to content

fix: round translate to nearest pixel#11257

Merged
web-padawan merged 1 commit into
mainfrom
fix/notification-translate-rounding
Mar 9, 2026
Merged

fix: round translate to nearest pixel#11257
web-padawan merged 1 commit into
mainfrom
fix/notification-translate-rounding

Conversation

@jouni
Copy link
Copy Markdown
Member

@jouni jouni commented Mar 6, 2026

Avoid rendering notifications in the middle position at sub-pixel values.

Before (not noticeable on high-DPI screens):

Screenshot 2026-03-06 at 9 22 52

After:

Screenshot 2026-03-06 at 9 23 13

@jouni jouni requested review from vursen and web-padawan March 6, 2026 07:24
@jouni jouni force-pushed the fix/notification-translate-rounding branch from af6c25d to 5748073 Compare March 9, 2026 05:32
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 9, 2026

@web-padawan web-padawan removed the request for review from vursen March 9, 2026 07:53
@web-padawan web-padawan merged commit 8cf337e into main Mar 9, 2026
10 checks passed
@web-padawan web-padawan deleted the fix/notification-translate-rounding branch March 9, 2026 07:53
web-padawan pushed a commit that referenced this pull request Mar 9, 2026
) (#11281)

Co-authored-by: Jouni Koivuviita <jouni@vaadin.com>
@vaadin-bot
Copy link
Copy Markdown
Collaborator

This ticket/PR has been released with Vaadin 25.1.0-beta3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants