mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-06 15:47:30 +08:00
Fix input node, pin colors simplified
This commit is contained in:
@@ -34,14 +34,6 @@ export default class BlueprintTemplate extends ITemplate {
|
||||
"--ueb-grid-size": `${Configuration.gridSize}px`,
|
||||
"--ueb-link-min-width": `${Configuration.linkMinWidth}`,
|
||||
"--ueb-node-radius": `${Configuration.nodeRadius}px`,
|
||||
...Object.entries(Configuration.pinColor)
|
||||
.map(([k, v]) => ({
|
||||
[`--ueb-pin-color-${Utility.getIdFromReference(k)}`]: v.toString()
|
||||
}))
|
||||
.reduce((acc, cur) => ({
|
||||
...acc,
|
||||
...cur,
|
||||
}), {}),
|
||||
}
|
||||
|
||||
/** @param {Blueprint} element */
|
||||
|
||||
Reference in New Issue
Block a user