Closed subsoap closed 6 years ago
It's because the node position is like this DEBUG:SCRIPT: vmath.vector3(0, -102.59999847412, 0) I tested forcing the node to vmath.vector3(0, -102, 0)
So may need a feature to floor/round the position of sprites so they align with the pixel grid.
Ah, I see. Should that be an option perhaps? And what should the option be called?
Something like image_pixel_grid_snap = true
Added the setting and released a new version: https://github.com/britzl/defold-richtext/releases/tag/3.0.0
What's happening here? There are two icons. One is displayed like how it should be, the second looks incorrect. I tried to reset the size but it did not seem to help.
Adding some size 1 text doesn't help either
Putting second on its own line also doesn't help