On Thu, 11 May 2023 19:58:46 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

>> I agree but that is also what I do here, isn't it?
>
> here: yes!

This looks good to me, the snapping as explained by Andy is how it should be.  
A source of error can be still be that floating point calculations can 
introduce small deviations so sometimes it is needed to resnap after doing 
calculations that seem harmless (ie. `snappedSize * 10` or `snappedWidth - 
snappedLeftInset` may need resnapping).

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/910#discussion_r1192039051

Reply via email to