On Wed, 13 Aug 2025 12:31:32 GMT, Ziad El Midaoui <zelmida...@openjdk.org> wrote:
> The issue occurs when displaying the ColorPicker on a second monitor with > scale=1 the ColorPicker appears blurry, > This is due to snapping and changing the value of `-fx-snap-to-pixel` for the > `ColorPalette` fixes the issue `.color-picker-grid` is the only place in `modena.css` that sets snap-to-pixel to false. It was set to false during the initial development of `modena.css` in commit ee4c8a0f95e6148772b0839c95e4348ac8f9e3e0 without any explanation. I also note that the color picker is the only place where a fractional pixel padding is used, so this will need to be tested and carefully inspected visually with different scales to make sure that it looks good after being snapped (with no gaps or visible asymmetry). If all looks OK, then the change seems reasonable (although @Maran23 is right that it should simply be removed), but I want to know what @andy-goryachev-oracle thinks. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1869#issuecomment-3192140922