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

Michael Strauß mstrauss at openjdk.org
Mon Apr 24 15:26:55 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.

This pull request has now been integrated.

Changeset: 9100a76f
Author:    Michael Strauß <mstrauss at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/9100a76fbc63e4da11877877929094086330e4b5
Stats:     3 lines in 1 file changed: 0 ins; 1 del; 2 mod

8306708: Region.layoutInArea uses incorrect snap scale value

Reviewed-by: jhendrikx, kcr

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

PR: https://git.openjdk.org/jfx/pull/1112


More information about the openjfx-dev mailing list