Merge pull request #2629 from mononaut/fix-preview-flow-highlight-bug
Fix transaction preview flow diagram highlight bug
This commit is contained in:
		
						commit
						61e8892204
					
				@ -68,7 +68,7 @@
 | 
				
			|||||||
      <path
 | 
					      <path
 | 
				
			||||||
        [attr.d]="input.path"
 | 
					        [attr.d]="input.path"
 | 
				
			||||||
        class="line {{input.class}}"
 | 
					        class="line {{input.class}}"
 | 
				
			||||||
        [class.highlight]="inputData[i].index === inputIndex"
 | 
					        [class.highlight]="inputIndex != null && inputData[i].index === inputIndex"
 | 
				
			||||||
        [style]="input.style"
 | 
					        [style]="input.style"
 | 
				
			||||||
        attr.marker-start="url(#{{input.class}}-arrow)"
 | 
					        attr.marker-start="url(#{{input.class}}-arrow)"
 | 
				
			||||||
        (pointerover)="onHover($event, 'input', i);"
 | 
					        (pointerover)="onHover($event, 'input', i);"
 | 
				
			||||||
@ -80,7 +80,7 @@
 | 
				
			|||||||
      <path
 | 
					      <path
 | 
				
			||||||
        [attr.d]="output.path"
 | 
					        [attr.d]="output.path"
 | 
				
			||||||
        class="line {{output.class}}"
 | 
					        class="line {{output.class}}"
 | 
				
			||||||
        [class.highlight]="outputData[i].index === outputIndex"
 | 
					        [class.highlight]="outputIndex != null && outputData[i].index === outputIndex"
 | 
				
			||||||
        [style]="output.style"
 | 
					        [style]="output.style"
 | 
				
			||||||
        attr.marker-start="url(#{{output.class}}-arrow)"
 | 
					        attr.marker-start="url(#{{output.class}}-arrow)"
 | 
				
			||||||
        (pointerover)="onHover($event, 'output', i);"
 | 
					        (pointerover)="onHover($event, 'output', i);"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user