mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-17 10:17:29 +08:00
Several visual fixes
This commit is contained in:
@@ -91,7 +91,7 @@ export default class PinTemplate extends ITemplate {
|
||||
return SVGIcon.pcgPin
|
||||
case "Param":
|
||||
case "Param[]":
|
||||
return SVGIcon.pcgPinParam
|
||||
return SVGIcon.pcgParamPin
|
||||
case "Spatial":
|
||||
case "Spatial[]":
|
||||
return SVGIcon.pcgSpatialPin
|
||||
@@ -105,17 +105,20 @@ export default class PinTemplate extends ITemplate {
|
||||
case "Point":
|
||||
case "Surface":
|
||||
case "Volume":
|
||||
return SVGIcon.pcgPinStack
|
||||
return SVGIcon.pcgStackPin
|
||||
}
|
||||
}
|
||||
switch (this.element.entity.PinType.ContainerType?.toString()) {
|
||||
case "Array": return SVGIcon.array
|
||||
case "Set": return SVGIcon.set
|
||||
case "Map": return SVGIcon.map
|
||||
switch (this.element.entity.PinType?.ContainerType?.toString()) {
|
||||
case "Array": return SVGIcon.arrayPin
|
||||
case "Set": return SVGIcon.setPin
|
||||
case "Map": return SVGIcon.mapPin
|
||||
}
|
||||
if (this.element.entity.PinType.PinCategory.toLocaleLowerCase() === "delegate") {
|
||||
if (this.element.entity.PinType?.PinCategory?.toLocaleLowerCase() === "delegate") {
|
||||
return SVGIcon.delegate
|
||||
}
|
||||
if (this.element.nodeElement?.template instanceof VariableOperationNodeTemplate) {
|
||||
return SVGIcon.operationPin
|
||||
}
|
||||
return SVGIcon.genericPin
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user