Skip to content

Commit 725838d

Browse files
committedDec 18, 2020
default preserveDrawingBuffer to true with no userAgent so that webgl config works in most cases
1 parent dd7c7a6 commit 725838d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/plots/gl3d/scene.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var preserveDrawingBuffer = getPreserveDrawingBuffer();
3737

3838
function getPreserveDrawingBuffer() {
3939
var ua = getUserAgent();
40-
if(typeof ua !== 'string') return false;
40+
if(typeof ua !== 'string') return true;
4141

4242
var hasDrawingBuffer = isMobileOrTablet({
4343
ua: ua,

0 commit comments

Comments
 (0)
Please sign in to comment.