File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Packages/com.unity.visualeffectgraph/Editor Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,15 @@ protected override void SelfChange()
152
152
RemoveFromClassList ( "exposed" ) ;
153
153
}
154
154
155
+ if ( controller . parentController . isOutput )
156
+ {
157
+ AddToClassList ( "output" ) ;
158
+ }
159
+ else
160
+ {
161
+ RemoveFromClassList ( "output" ) ;
162
+ }
163
+
155
164
m_Label . parent . tooltip = controller . parentController . model . tooltip ;
156
165
}
157
166
Original file line number Diff line number Diff line change @@ -56,6 +56,11 @@ VFXParameterUI.node.superCollapsed > #node-border
56
56
flex-direction: row;
57
57
}
58
58
59
+ VFXParameterUI.node.superCollapsed.output > #node-border
60
+ {
61
+ flex-direction: row-reverse;
62
+ }
63
+
59
64
VFXParameterUI.node.superCollapsed > #selection-border
60
65
{
61
66
border-radius: 12px;
@@ -71,6 +76,12 @@ VFXParameterUI.node.superCollapsed > #node-border > #title
71
76
margin-right: 16px;
72
77
}
73
78
79
+ VFXParameterUI.node.superCollapsed.output > #node-border > #title
80
+ {
81
+ margin-left: 16px;
82
+ margin-right: 0;
83
+ }
84
+
74
85
VFXParameterUI.node.superCollapsed > #node-border > #contents > #top > #output
75
86
{
76
87
justify-content:space-around;
You can’t perform that action at this time.
0 commit comments