Skip to content

Commit

Permalink
Merge pull request #77 from pshihn/offscreen-fill
Browse files Browse the repository at this point in the history
remove path size clipping - not needed
  • Loading branch information
pshihn authored Jun 26, 2018
2 parents 32e0527 + a7f8f84 commit b51a6b6
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 16 deletions.
2 changes: 0 additions & 2 deletions bin/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ export class RoughGenerator {
if (!(size[0] * size[1])) {
size = canvasSize;
}
size[0] = Math.min(size[0], canvasSize[0]);
size[1] = Math.min(size[1], canvasSize[1]);
return size;
}
line(x1, y1, x2, y2, options) {
Expand Down
2 changes: 0 additions & 2 deletions dist/rough.es5.js
Original file line number Diff line number Diff line change
Expand Up @@ -1813,8 +1813,6 @@ var rough = (function () {
if (!(size[0] * size[1])) {
size = canvasSize;
}
size[0] = Math.min(size[0], canvasSize[0]);
size[1] = Math.min(size[1], canvasSize[1]);
return size;
}
}, {
Expand Down
2 changes: 1 addition & 1 deletion dist/rough.es5.min.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions dist/rough.js
Original file line number Diff line number Diff line change
Expand Up @@ -1549,8 +1549,6 @@ var rough = (function () {
if (!(size[0] * size[1])) {
size = canvasSize;
}
size[0] = Math.min(size[0], canvasSize[0]);
size[1] = Math.min(size[1], canvasSize[1]);
return size;
}
line(x1, y1, x2, y2, options) {
Expand Down
2 changes: 1 addition & 1 deletion dist/rough.min.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions dist/rough.umd.es5.js
Original file line number Diff line number Diff line change
Expand Up @@ -1816,8 +1816,6 @@
if (!(size[0] * size[1])) {
size = canvasSize;
}
size[0] = Math.min(size[0], canvasSize[0]);
size[1] = Math.min(size[1], canvasSize[1]);
return size;
}
}, {
Expand Down
2 changes: 1 addition & 1 deletion dist/rough.umd.es5.min.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions dist/rough.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -1552,8 +1552,6 @@
if (!(size[0] * size[1])) {
size = canvasSize;
}
size[0] = Math.min(size[0], canvasSize[0]);
size[1] = Math.min(size[1], canvasSize[1]);
return size;
}
line(x1, y1, x2, y2, options) {
Expand Down
2 changes: 1 addition & 1 deletion dist/rough.umd.min.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions src/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ export class RoughGenerator {
if (!(size[0] * size[1])) {
size = canvasSize;
}
size[0] = Math.min(size[0], canvasSize[0]);
size[1] = Math.min(size[1], canvasSize[1]);
return size;
}

Expand Down

0 comments on commit b51a6b6

Please sign in to comment.