Skip to content

Commit a8a2752

Browse files
authored
Merge pull request #1388 from dfcreative/patch-1
Force redraw on updateSize
2 parents 190b3b5 + 282f17f commit a8a2752

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 render right thing
237+
if(this.redraw) this.redraw();
238+
236239
return canvas;
237240
};
238241

0 commit comments

Comments
 (0)