Set line number for text renders

This commit is contained in:
Niklas von Hertzen 2017-08-10 21:59:08 +08:00
parent 82cfcf8704
commit 5969c95481

View File

@ -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];