diff options
author | johan <johan.duparc@gmail.com> | 2020-03-18 02:05:23 -0400 |
---|---|---|
committer | johan <johan.duparc@gmail.com> | 2020-03-18 12:37:14 -0400 |
commit | 1c02906a6fa7ca1224345fe3ae19ab9879165a0a (patch) | |
tree | 8e91848fec0fb767f562d1499734f505c47e751c /editor/icons/Button.svg | |
parent | 0d907a6320f880dcfaa996c28b88c6f5e0677202 (diff) |
Editor 2D: Change pixel alignment strategy, fix jittering in high zoom
Alignment of scene pixels on screen pixel ensure a crisp rendering of small features (such as text). Unfortunately, alignment of top left pixel on screen adds a lot of jittering when zooming at high zoom factor.
This change allow to snap the top left scene pixel on the closest screen pixel (not only the top-left most), and we do so only when the scale factor is an integer.
Diffstat (limited to 'editor/icons/Button.svg')
0 files changed, 0 insertions, 0 deletions