mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-29 18:13:47 +00:00
fix: add fill border to node-border program config
The createNodeBorderProgram was missing the second border entry
with { size: { fill: true }, color: { attribute: 'color' } }
which renders the node's fill color. Without it, node bodies
were transparent and only edges were visible.
This commit is contained in:
@@ -127,6 +127,10 @@ const BorderedNodeProgram = createNodeBorderProgram({
|
|||||||
size: { attribute: 'borderSize', defaultValue: 0 },
|
size: { attribute: 'borderSize', defaultValue: 0 },
|
||||||
color: { attribute: 'borderColor' },
|
color: { attribute: 'borderColor' },
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
size: { fill: true },
|
||||||
|
color: { attribute: 'color' },
|
||||||
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user