From 4ee7aabdce0f19db98848827d0a70eb35a60a4ee Mon Sep 17 00:00:00 2001 From: mspae Date: Sat, 19 Aug 2017 15:23:29 +0200 Subject: [PATCH] fixed framed drawing functions not being called --- src/drawer.multicanvas.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drawer.multicanvas.js b/src/drawer.multicanvas.js index 0062f4f82..6c25764a9 100644 --- a/src/drawer.multicanvas.js +++ b/src/drawer.multicanvas.js @@ -275,7 +275,7 @@ export default class MultiCanvas extends Drawer { this.fillRect(i + this.halfPixel, halfH - h + offsetY, bar + this.halfPixel, h * 2); } - }); + })(peaks, channelIndex, start, end); } /** @@ -332,7 +332,7 @@ export default class MultiCanvas extends Drawer { // Always draw a median line this.fillRect(0, halfH + offsetY - this.halfPixel, this.width, this.halfPixel); - }); + })(peaks, channelIndex, start, end); } /**