Issue #258 : Fix replay for Stroke tool with != pensizes

This commit is contained in:
jdescottes 2015-11-20 00:26:17 +01:00
parent 3cc3204939
commit fce9bb5727

View File

@ -123,7 +123,7 @@
}.bind(this); }.bind(this);
replayData.pixels.forEach(function (pixel) { replayData.pixels.forEach(function (pixel) {
var pixels = pskl.app.penSizeService.getPixelsForPenSize(pixel.col, pixel.row); var pixels = pskl.app.penSizeService.getPixelsForPenSize(pixel.col, pixel.row, replayData.penSize);
pixels.forEach(setPixel); pixels.forEach(setPixel);
}); });
}; };