Skip to content

Commit

Permalink
Clip path window affected zero-values (speced#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
almossawi committed Jan 21, 2015
1 parent 782ec78 commit bf46b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/common/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function init(args) {
.attr('x', args.left)
.attr('y', args.top)
.attr('width', args.width - args.left - args.right - args.buffer)
.attr('height', args.height - args.top - args.bottom - args.buffer);
.attr('height', args.height - args.top - args.bottom - args.buffer + 1);

//has the width or height changed?
if (svg_width !== Number(svg.attr('width'))) {
Expand Down

0 comments on commit bf46b19

Please sign in to comment.