Skip to content

Conversation

minjibak
Copy link

@minjibak minjibak commented Sep 4, 2025

Changes

  • Applied pixel snapping in inflateRect function in element.bar.js
  • Fixed white pixel gaps that occur when bar borders are thick

Related issue

@LeeLenaleee
Copy link
Collaborator

Could you also add a test for this?

@LeeLenaleee LeeLenaleee added this to the Version 4.5.1 milestone Sep 11, 2025
… - Added tests in element.bar.tests.js to verify pixel snapping fix
@minjibak
Copy link
Author

Hi, I added tests for the pixel snapping fix in element.bar.tests.js.

Verifies that bars with a thick borderWidth do not produce white gaps.

Verifies that borderRadius is handled correctly without creating gaps.

The original change in element.bar.js remains the same; these tests just ensure the fix is covered automatically.

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.

2 participants