RFR: 8274932: Render scales in EmbeddedWindow are not properly updated [v8]

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Aug 4 06:21:55 UTC 2023


On Thu, 3 Aug 2023 17:55:14 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Call updateSceneState with lock and in FX thread
>
> modules/javafx.swing/src/main/java/javafx/embed/swing/JFXPanel.java line 826:
> 
>> 824:             }
>> 825:             double newScaleFactorX = config.getDefaultTransform().getScaleX();
>> 826:             double newScaleFactorY = config.getDefaultTransform().getScaleY();
> 
> minor suggestion: create a method get[Current]Transform() to avoid code duplication (here and line 621)

done

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1171#discussion_r1284026118


More information about the openjfx-dev mailing list