Skip to content

Commit 7b51488

Browse files
committed
"target-label" and "source-label" use text from "label" / "content" #1663
1 parent a1b0175 commit 7b51488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extensions/renderer/canvas/drawing-label-text.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ CRp.drawText = function( context, ele, prefix ){
316316
}
317317

318318
if( ele.pstyle( 'text-wrap' ).value === 'wrap' ){
319-
var lines = rscratch.labelWrapCachedLines;
319+
var lines = util.getPrefixedProperty( rscratch, 'labelWrapCachedLines', prefix );
320320
var lineHeight = textH / lines.length;
321321

322322
switch( valign ){

0 commit comments

Comments
 (0)