()
| 60 | } |
| 61 | |
| 62 | private getDecorationStyles() { |
| 63 | let sourceStyle; |
| 64 | if (this.type === "bring") { |
| 65 | sourceStyle = this.graph.editStyles.referenced; |
| 66 | } else if (this.type === "move") { |
| 67 | sourceStyle = this.graph.editStyles.pendingDelete; |
| 68 | } |
| 69 | // NB this.type === "swap" |
| 70 | else { |
| 71 | sourceStyle = this.graph.editStyles.pendingModification1; |
| 72 | } |
| 73 | return { |
| 74 | sourceStyle, |
| 75 | destinationStyle: this.graph.editStyles.pendingModification0, |
| 76 | }; |
| 77 | } |
| 78 | |
| 79 | private async decorateTargets( |
| 80 | sources: TypedSelection[], |
no outgoing calls
no test coverage detected