fairygui / FairyGUI-unity

A flexible UI framework for Unity
https://fairygui.com
MIT License
2.68k stars 636 forks source link

float type 'LineSize' support in Graph component? #205

Closed PascalSoftwares closed 7 months ago

PascalSoftwares commented 1 year ago

'Graph' component of ui has property 'LineSize' type of int, which works as borderline thickness. But digging in source code, Shape class ( _shape property in GGraph class which get LineSize parameter to draw) actually uses float LineSize for drawing Rect, Ellipse, Polygon etc.

Is there any possibility to support float-sized LineSize in Graph component?

xiaoguzhu commented 1 year ago

This may be a previous mistake, but now it's difficult to change this thing.