Skip to content

Commit c200bf9

Browse files
committed
use antialias setting in static gl2d contexts
1 parent f1dde35 commit c200bf9

File tree

1 file changed

+2
-1
lines changed
  • shelly/plotlyjs/static/plotlyjs/src/gl2d

1 file changed

+2
-1
lines changed

shelly/plotlyjs/static/plotlyjs/src/gl2d/scene2d.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ proto.makeFramework = function() {
7575
try {
7676
STATIC_CONTEXT = STATIC_CANVAS.getContext('webgl', {
7777
preserveDrawingBuffer: true,
78-
premultipliedAlpha: true
78+
premultipliedAlpha: true,
79+
antialias: true
7980
});
8081
} catch(e) {
8182
throw new Error([

0 commit comments

Comments
 (0)