Do not show hidden functions
This commit is contained in:
1 parent
54b0016873
commit
e14fe922b7
1 file changed
+1
-1
@@ -13,7 +13,7 @@ export function FunctionsSection({ functions = [], funcDefs }: Props) {
|
||||
return (
|
||||
<Section label="Functions" fill={true}>
|
||||
{functions.map((func: FuncInstance, index: number) => {
|
||||
return <GraphiteFunctionEditor key={index} func={func} />;
|
||||
return !func.hidden && <GraphiteFunctionEditor key={index} func={func} />;
|
||||
})}
|
||||
<AddGraphiteFunction funcDefs={funcDefs} />
|
||||
</Section>
|
||||
|
||||
Reference in new issue
Block a user