From fce9bb5727db70382cd1d13a0aa9a3d1b6dc140d Mon Sep 17 00:00:00 2001 From: jdescottes Date: Fri, 20 Nov 2015 00:26:17 +0100 Subject: [PATCH] Issue #258 : Fix replay for Stroke tool with != pensizes --- src/js/tools/drawing/Stroke.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/tools/drawing/Stroke.js b/src/js/tools/drawing/Stroke.js index 3b442b1c..529dbd5c 100644 --- a/src/js/tools/drawing/Stroke.js +++ b/src/js/tools/drawing/Stroke.js @@ -123,7 +123,7 @@ }.bind(this); 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); }); };