Skip to content

Commit cde7a0b

Browse files
committed
fix unused variable
1 parent abaf46e commit cde7a0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/traces/parcoords/lines.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ module.exports = function(canvasGL, d) {
241241
var isPick = d.pick;
242242

243243
var regl = d.regl;
244-
var plotGlPixelRatio = d.viewModel.plotGlPixelRatio;
244+
var plotGlPixelRatio = 1; // d.viewModel.plotGlPixelRatio;
245245

246246
var renderState = {
247247
currentRafs: {},
@@ -318,7 +318,7 @@ module.exports = function(canvasGL, d) {
318318
frag: fragmentShaderSource,
319319

320320
primitive: 'lines',
321-
lineWidth: 1,
321+
lineWidth: plotGlPixelRatio,
322322
attributes: attributes,
323323
uniforms: {
324324
resolution: regl.prop('resolution'),

0 commit comments

Comments
 (0)