Skip to content

Commit 992b50e

Browse files
committed
update canvas size in responsive. Factor of 2 from plotGlPixelRatio
1 parent 73be4e1 commit 992b50e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/config_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ describe('config argument', function() {
640640
checkElementsSize(mainSvgs, elWidth / 2, elHeight / 2);
641641

642642
var canvases = document.getElementsByTagName('canvas');
643-
checkElementsSize(canvases, elWidth / 2, elHeight / 2);
643+
checkElementsSize(canvases, elWidth, elHeight);
644644
})
645645
.catch(failTest);
646646
}

0 commit comments

Comments
 (0)