diff --git a/browser/js/app/widgets/eq.js b/browser/js/app/widgets/eq.js index 8669ae10..683483ea 100644 --- a/browser/js/app/widgets/eq.js +++ b/browser/js/app/widgets/eq.js @@ -139,7 +139,7 @@ module.exports.create = function(widgetData,container) { point = newpoint } - ctx.lineWidth = 1.5*PXSCALE + ctx.lineWidth = 1*PXSCALE ctx.strokeStyle= widget.lineColor ctx.stroke() diff --git a/browser/js/app/widgets/plot.js b/browser/js/app/widgets/plot.js index 5c407ffb..b02034ec 100644 --- a/browser/js/app/widgets/plot.js +++ b/browser/js/app/widgets/plot.js @@ -143,11 +143,11 @@ module.exports.create = function(widgetData,container) { } } - ctx.arc(newpoint[0],newpoint[1],1,0,2*Math.PI) + ctx.rect(newpoint[0]-1*PXSCALE,newpoint[1]-1*PXSCALE,2,2) point = newpoint } - ctx.lineWidth = 1.5*PXSCALE + ctx.lineWidth = 1*PXSCALE ctx.strokeStyle= widget.lineColor ctx.stroke() diff --git a/browser/js/app/widgets/visualizer.js b/browser/js/app/widgets/visualizer.js index cd4e06b6..5cf9954d 100644 --- a/browser/js/app/widgets/visualizer.js +++ b/browser/js/app/widgets/visualizer.js @@ -128,7 +128,7 @@ module.exports.create = function(widgetData,container) { point = newpoint } - ctx.lineWidth = 1.5*PXSCALE + ctx.lineWidth = 1*PXSCALE ctx.strokeStyle= widget.lineColor ctx.stroke() diff --git a/browser/js/browser-headless.bundle.js b/browser/js/browser-headless.bundle.js index 124a6473..1b705823 100644 --- a/browser/js/browser-headless.bundle.js +++ b/browser/js/browser-headless.bundle.js @@ -1831,7 +1831,7 @@ module.exports.create = function(widgetData,container) { point = newpoint } - ctx.lineWidth = 1.5*PXSCALE + ctx.lineWidth = 1*PXSCALE ctx.strokeStyle= widget.lineColor ctx.stroke() @@ -3201,11 +3201,11 @@ module.exports.create = function(widgetData,container) { } } - ctx.arc(newpoint[0],newpoint[1],1,0,2*Math.PI) + ctx.rect(newpoint[0]-1*PXSCALE,newpoint[1]-1*PXSCALE,2,2) point = newpoint } - ctx.lineWidth = 1.5*PXSCALE + ctx.lineWidth = 1*PXSCALE ctx.strokeStyle= widget.lineColor ctx.stroke() @@ -4159,7 +4159,7 @@ module.exports.create = function(widgetData,container) { point = newpoint } - ctx.lineWidth = 1.5*PXSCALE + ctx.lineWidth = 1*PXSCALE ctx.strokeStyle= widget.lineColor ctx.stroke()