Skip to content

Commit 703a196

Browse files
committed
apply pixelRatio in one remaining lineWidth call
1 parent 3ae7399 commit 703a196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

surface.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ proto.drawPick = function (params) {
578578
}
579579

580580
shader.uniforms.permutation = PERMUTATIONS[j]
581-
gl.lineWidth(this.contourWidth[j])
581+
gl.lineWidth(this.contourWidth[j] * this.pixelRatio)
582582
for (var k = 0; k < this.contourLevels[j].length; ++k) {
583583
if (this._contourCounts[j][k]) {
584584
shader.uniforms.height = this.contourLevels[j][k]

0 commit comments

Comments
 (0)