Skip to content

Commit dd90a2c

Browse files
committed
Merged PR 59263: Update missing fields and enum values
Update missing fields and enum values
1 parent f67df0b commit dd90a2c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Editor/Interface/Figma.Enums.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public enum TextAlignHorizontal { LEFT, CENTER, RIGHT, JUSTIFIED }
6565

6666
public enum TextAlignVertical { TOP, CENTER, BOTTOM }
6767

68-
public enum TextAutoResize { NONE, WIDTH_AND_HEIGHT, HEIGHT }
68+
public enum TextAutoResize { NONE, WIDTH_AND_HEIGHT, HEIGHT, TRUNCATE }
6969

7070
public enum BooleanOperation { UNION, INTERSECT, SUBTRACT, EXCLUDE }
7171

Editor/Interface/Figma.Types.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace Figma
1414
{
1515
using boolean = Boolean;
1616
using number = Double;
17+
using VariableAlias = Object;
1718

1819
namespace global
1920
{
@@ -130,6 +131,7 @@ public class SolidPaint : Paint
130131
public boolean? visible;
131132
public number? opacity;
132133
public BlendMode? blendMode;
134+
public Dictionary<string, VariableAlias> boundVariables;
133135
}
134136

135137
public class GradientPaint : Paint
@@ -674,6 +676,7 @@ public class SceneNode : BaseNode, SceneNodeMixin
674676
#region Properties
675677
public boolean? visible { get; set; }
676678
public boolean? locked { get; set; }
679+
public Dictionary<string, VariableAlias> boundVariables { get; set; }
677680
#endregion
678681
}
679682

0 commit comments

Comments
 (0)