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. ------------- Commit messages: - Region.layoutInArea uses incorrect snap scale value Changes: https://git.openjdk.org/jfx/pull/1112/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1112&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8306708 Stats: 3 lines in 1 file changed: 0 ins; 1 del; 2 mod Patch: https://git.openjdk.org/jfx/pull/1112.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/1112/head:pull/1112 PR: https://git.openjdk.org/jfx/pull/1112