RFR: 8306708: Region.layoutInArea uses incorrect snap scale value

Kevin Rushforth kcr at openjdk.org
Mon Apr 24 12:52:56 UTC 2023


On Sun, 23 Apr 2023 20:26:08 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

> In the following line, snapScaleX is used twice:
> 
> 
>     child.resize(snapSize(size.x, isSnapToPixel, snapScaleX),
>                  snapSize(size.y, isSnapToPixel, snapScaleX));
> 
> 
> Looks like a copy-and-paste bug.

LGTM

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

Marked as reviewed by kcr (Lead).

PR Review: https://git.openjdk.org/jfx/pull/1112#pullrequestreview-1397917377


More information about the openjfx-dev mailing list