On Fri, 14 Feb 2025 17:38:48 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

>> modules/javafx.graphics/src/main/resources/com/sun/glass/ui/gtk/WindowDecorationGnome.css
>>  line 125:
>> 
>>> 123: 
>>> 124: .close-button > .glyph {
>>> 125:     -fx-shape: "m 8.1464844,8.1464844 a 0.5,0.5 0 0 0 0,0.7070312 L 
>>> 11.292969,12 8.1464844,15.146484 a 0.5,0.5 0 0 0 0,0.707032 0.5,0.5 0 0 0 
>>> 0.7070312,0 L 12,12.707031 l 3.146484,3.146485 a 0.5,0.5 0 0 0 0.707032,0 
>>> 0.5,0.5 0 0 0 0,-0.707032 L 12.707031,12 15.853516,8.8535156 a 0.5,0.5 0 0 
>>> 0 0,-0.7070312 0.5,0.5 0 0 0 -0.707032,0 L 12,11.292969 8.8535156,8.1464844 
>>> a 0.5,0.5 0 0 0 -0.7070312,0 z";
>> 
>> minor: we could probably minimize the path by rounding to 2 or 3 decimal 
>> points
>> (same comment for all .css changes)
>
> any response on this?

I asked ChatGPT to make the numbers shorter, and it did.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1605#discussion_r1956972354

Reply via email to