Skip to content

Commit 8692e7b

Browse files
authored
Force redraw on updateSize
Related to losing axes/scale in sequence of toImage
1 parent 190b3b5 commit 8692e7b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/plots/gl2d/scene2d.js

+3
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,9 @@ proto.updateSize = function(canvas) {
233233
canvas.height = pixelHeight;
234234
}
235235

236+
// make sure plots rendered right thing
237+
if (this.redraw) this.redraw()
238+
236239
return canvas;
237240
};
238241

0 commit comments

Comments
 (0)