bevy
bevy copied to clipboard
use unrounded size to clip ui nodes
Objective
clipping sometimes uses too-tight bounds when nodes are not aligned to pixel boundaries.
Solution
use the unrounded size, and floor/ceil on the min/max of the clipping bounds.
before:
after: