mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-28 20:28:46 +00:00
[enhancement][liquid] support round rect vessel
This commit is contained in:
@@ -624,10 +624,10 @@ namespace XUGL
|
|||||||
vh.AddUIVertexQuad(s_Vertex);
|
vh.AddUIVertexQuad(s_Vertex);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void InitCornerRadius(float[] cornerRadius, float width, float height, bool horizontal,
|
public static void InitCornerRadius(float[] cornerRadius, float width, float height, bool horizontal,
|
||||||
bool invert, ref float brLt, ref float brRt, ref float brRb, ref float brLb, ref bool needRound)
|
bool invert, ref float brLt, ref float brRt, ref float brRb, ref float brLb, ref bool needRound)
|
||||||
{
|
{
|
||||||
if (cornerRadius == null) return;
|
if (cornerRadius == null || cornerRadius.Length == 0) return;
|
||||||
if (invert)
|
if (invert)
|
||||||
{
|
{
|
||||||
if (horizontal)
|
if (horizontal)
|
||||||
|
|||||||
Reference in New Issue
Block a user