mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-18 03:27:32 +08:00
Various color picker fixes
This commit is contained in:
@@ -115,8 +115,7 @@ export default class PinElement extends IElement {
|
||||
this.advancedView = entity.bAdvancedView
|
||||
this.defaultValue = entity.getDefaultValue()
|
||||
this.pinType = this.entity.getType()
|
||||
// @ts-expect-error
|
||||
this.color = this.constructor.properties.color.converter.fromAttribute(Configuration.pinColor[this.pinType]?.toString())
|
||||
this.color = PinElement.properties.color.converter.fromAttribute(Configuration.pinColor[this.pinType]?.toString())
|
||||
this.isLinked = false
|
||||
this.pinDirection = entity.isInput() ? "input" : entity.isOutput() ? "output" : "hidden"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user