[Plot] Fix insertion in PlotLineBuffer

WTD-806.
This commit is contained in:
Victor Woeltjen
2015-04-17 12:13:17 -07:00
parent b20643018a
commit 6551e9212d
2 changed files with 10 additions and 2 deletions

View File

@ -131,8 +131,8 @@ define(
// Shift data over if necessary
if (index < length) {
buffer.set(
buffer.subarray(index, length - index),
index + sz
buffer.subarray(index * 2, length * 2),
(index + sz) * 2
);
}