Skip to content

Commit 0c47eb2

Browse files
committed
Fix gl2d multiple subplot
1 parent 0d99411 commit 0c47eb2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/plots/gl2d/convert.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function Axes2DOptions(scene) {
8686
[0, 0, 0, 1]
8787
];
8888

89-
this.borderColor = [0, 0, 0, 0];
89+
this.borderColor = false;
9090
this.backgroundColor = [0, 0, 0, 0];
9191

9292
this.static = this.scene.staticPlot;

src/plots/gl2d/scene2d.js

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ proto.makeFramework = function() {
118118

119119
var gl = getContext({
120120
canvas: liveCanvas,
121+
preserveDrawingBuffer: true,
121122
premultipliedAlpha: true
122123
});
123124

0 commit comments

Comments
 (0)