mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-17 10:17:29 +08:00
Avoid using arrays when unnecessary
This commit is contained in:
@@ -39,7 +39,7 @@ export default class MouseCreateLink extends IMouseClickDrag {
|
||||
this.link.setMessageDirectionsIncompatible()
|
||||
} else if (a.isOutput() == b.isOutput()) {
|
||||
this.link.setMessageDirectionsIncompatible()
|
||||
} else if (this.blueprint.getLinks([a, b]).length) {
|
||||
} else if (this.blueprint.getLinks(a, b).length) {
|
||||
this.link.setMessageReplaceLink()
|
||||
this.linkValid = true
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user