Skip to content

Commit

Permalink
added overflow hidden to svg element for issue 157
Browse files Browse the repository at this point in the history
  • Loading branch information
jonobr1 committed Oct 14, 2015
1 parent 62245cf commit b937d35
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions build/two.clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -3486,6 +3486,7 @@
this.defs = svg.createElement('defs');
this.domElement.appendChild(this.defs);
this.domElement.defs = this.defs;
this.domElement.style.overflow = 'hidden';

};

Expand Down
1 change: 1 addition & 0 deletions build/two.js
Original file line number Diff line number Diff line change
Expand Up @@ -4931,6 +4931,7 @@ var Backbone = Backbone || {};
this.defs = svg.createElement('defs');
this.domElement.appendChild(this.defs);
this.domElement.defs = this.defs;
this.domElement.style.overflow = 'hidden';

};

Expand Down
4 changes: 2 additions & 2 deletions build/two.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/renderer/svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@
this.defs = svg.createElement('defs');
this.domElement.appendChild(this.defs);
this.domElement.defs = this.defs;
this.domElement.style.overflow = 'hidden';

};

Expand Down

0 comments on commit b937d35

Please sign in to comment.