Skip to content

Commit

Permalink
bugfix to wiggle track canvases: they were being drawn 1 pixel too wide
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Oct 17, 2012
1 parent d5712a4 commit 552add6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JBrowse/View/Track/Wiggle.js
Expand Up @@ -170,7 +170,7 @@ Wiggle.extend({
var blockWidth = rightBase - leftBase;
this.heightUpdate( this.height, blockIndex );

var canvasWidth = Math.ceil(( rightBase - leftBase ) * scale)+1;
var canvasWidth = Math.ceil(( rightBase - leftBase ) * scale);
var canvasHeight = parseInt(( this.config.style || {}).height) || 100;
this.height = canvasHeight;

Expand Down

0 comments on commit 552add6

Please sign in to comment.