On Mon, 24 Feb 2025 08:41:47 GMT, anass baya <d...@openjdk.org> wrote:
>> The PR includes two fix : >> 1 - The first fix targets proper rendering of the transparent image. >> 2 - The second fix ensures the image is painted at the correct resolution to >> avoid pixelation. > > anass baya has updated the pull request incrementally with three additional > commits since the last revision: > > - Enhancment step 3 > - Enhancement - step 2 > - enhancement - step 1 src/java.desktop/macosx/classes/sun/lwawt/LWComponentPeer.java line 983: > 981: Image img = getLWGC().createAcceleratedImage(getTarget(), > scaledWidth, scaledHeight); > 982: if(ScaleX == 1 || ScaleY == 1) > 983: return img; Should this be `&&` instead of `||`? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/23430#discussion_r1972142186