On Thu, 1 Aug 2024 21:54:18 GMT, Andy Goryachev <[email protected]> wrote:
>> Michael Strauß has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> fixed a bug
>
> modules/javafx.graphics/src/main/java/javafx/css/StyleableLongProperty.java
> line 136:
>
>> 134: @Override
>> 135: public void onUpdate(double progress) {
>> 136: set(progress < 1 ? startValue + (long)((endValue -
>> startValue) * progress) : endValue);
>
> minor: should it use (long)Math.round() ?
edit: I think it should.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1522#discussion_r1702063665