mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-22 06:13:23 +08:00
Fix comments dragging nodes
This commit is contained in:
@@ -199,7 +199,8 @@ export default class LinkElement extends IFromToPositionedElement {
|
||||
if (location == null) {
|
||||
const self = this
|
||||
if (!this.hasUpdated || !this.destinationPin.hasUpdated) {
|
||||
Promise.all([this.updateComplete, this.destinationPin.updateComplete]).then(() => self.setDestinationLocation())
|
||||
Promise.all([this.updateComplete, this.destinationPin.updateComplete])
|
||||
.then(() => self.setDestinationLocation())
|
||||
return
|
||||
}
|
||||
location = this.destinationPin.template.getLinkLocation()
|
||||
|
||||
Reference in New Issue
Block a user