Skip to content

Commit

Permalink
remove atom.patching require
Browse files Browse the repository at this point in the history
  • Loading branch information
theshock committed Dec 12, 2013
1 parent 69dabb0 commit 32b0c14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Source/Plugins/SpriteFont.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ atom.declare( 'LibCanvas.Plugins.SpriteFont.Render', {
render: function (lines) {
var x, y, w, l, i, from = this.options.shape.from;

for (l = 0, y = from.y.floor(); l < lines.length; l++) {
x = from.x.floor();
for (l = 0, y = Math.floor(from.y); l < lines.length; l++) {
x = Math.floor(from.x);

if (this.options.align != 'left') {
w = lines[l].reduce(function (current, elem) { return current + elem.width }, 0);
Expand Down
4 changes: 2 additions & 2 deletions libcanvas-full-compiled.js
Original file line number Diff line number Diff line change
Expand Up @@ -5405,8 +5405,8 @@ atom.declare( 'LibCanvas.Plugins.SpriteFont.Render', {
render: function (lines) {
var x, y, w, l, i, from = this.options.shape.from;

for (l = 0, y = from.y.floor(); l < lines.length; l++) {
x = from.x.floor();
for (l = 0, y = Math.floor(from.y); l < lines.length; l++) {
x = Math.floor(from.x);

if (this.options.align != 'left') {
w = lines[l].reduce(function (current, elem) { return current + elem.width }, 0);
Expand Down

0 comments on commit 32b0c14

Please sign in to comment.