On Wed, 26 Feb 2025 18:35:31 GMT, Jeremy Wood <d...@openjdk.org> wrote:

>> 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 `||`?

Yes It should

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23430#discussion_r2001090575

Reply via email to