fixed 1st example

This commit is contained in:
Vadim
2015-09-29 22:40:44 -04:00
parent c84729097f
commit 6ea7c8a89b
3 changed files with 3 additions and 9 deletions
+1 -7
View File
@@ -1,10 +1,3 @@
/*! CanvasTextWrapper
* https://github.com/namniak/CanvasTextWrapper
* Version: 0.4.0
* MIT License (http://www.opensource.org/licenses/mit-license.html)
*/
(function (root) {
function CanvasTextWrapper(canvas, text, options) {
@@ -73,6 +66,7 @@
setFont(--fontSize);
lineHeight = fontSize;
wrap();
} else {
wrap();
}