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 stamps on high dpi screens #537

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

arcs-
Copy link

@arcs- arcs- commented Nov 11, 2019

The this._getElementOffset( elem ) in _manageStamp( elem ) returns the positions with decimal places, this results in the misalignment of the the items. E.g., in a gutter of 50px, a stamp with size 50px and position 0.0034 will use its cell and the following one. (I experienced this mostly on high DPI screens).
Rounding the numbers will correct the issue, the "item"'s position is already rounded, just the stamps are not.

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

Successfully merging this pull request may close these issues.

1 participant