Skip to content

Commit

Permalink
0.8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Ted Patrick committed Feb 14, 2015
1 parent 41a3bd3 commit d0b12d3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions dist/txt.js
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,6 @@ var txt;
if (this.minSize != null && this.size < this.minSize) {
this.size = this.minSize;
}
console.log("REDUCE SIZE");
return;
}
}
Expand All @@ -1375,7 +1374,6 @@ var txt;
this.tracking = trackMetric;
}
this.size = this.original.size;
console.log("EXPAND TRACKING");
return;
}
if (trackMetric < this.original.tracking && this.autoReduce) {
Expand All @@ -1386,7 +1384,6 @@ var txt;
this.tracking = trackMetric;
}
this.size = this.original.size;
console.log("REDUCE TRACKING");
return;
}
}
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ <h2 class="content-subhead" id="license">License (BSD)</h2>
stage = new createjs.Stage(canvas);

var text = new txt.Text( {
text:'Written to <canvas> with txtjs. Welcome.\nv0.8.7',
text:'Written to <canvas> with txtjs. Welcome.\nv0.8.8',
font:'raleway',
align:txt.Align.MIDDLE_CENTER,
tracking:-5,
Expand Down
6 changes: 3 additions & 3 deletions src/txt/CharacterText.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ module txt {
if( this.minSize != null && this.size < this.minSize ){
this.size = this.minSize;
}
console.log( "REDUCE SIZE")
//console.log( "REDUCE SIZE")
return;
}
//tracking cases
Expand All @@ -275,7 +275,7 @@ module txt {
this.tracking = trackMetric;
}
this.size = this.original.size;
console.log( "EXPAND TRACKING")
//console.log( "EXPAND TRACKING")
return;
}
//autoreduce tracking case
Expand All @@ -286,7 +286,7 @@ module txt {
this.tracking = trackMetric;
}
this.size = this.original.size;
console.log( "REDUCE TRACKING")
//console.log( "REDUCE TRACKING")
return;
}
}
Expand Down

0 comments on commit d0b12d3

Please sign in to comment.