mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Set line number for text renders
This commit is contained in:
parent
82cfcf8704
commit
5969c95481
@ -49,7 +49,8 @@ function parseRefTest(txt) {
|
|||||||
action: 'T',
|
action: 'T',
|
||||||
x: parseInt(text[1], 10),
|
x: parseInt(text[1], 10),
|
||||||
y: parseInt(text[2], 10),
|
y: parseInt(text[2], 10),
|
||||||
text: text[3]
|
text: text[3],
|
||||||
|
line: i + 1
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
const args = parseAction[2];
|
const args = parseAction[2];
|
||||||
|
Loading…
Reference in New Issue
Block a user