Skip to content

Commit

Permalink
Merge pull request #68 from zpchavez/master
Browse files Browse the repository at this point in the history
Fix putTop
  • Loading branch information
kittykatattack authored Oct 24, 2017
2 parents 6a8c6c6 + 211ce7c commit bef6dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ga.js
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ GA.create = function(width, height, setup, assetsToLoad, load) {
xOffset = xOffset || 0;
yOffset = yOffset || 0;
b.x = (a.x + a.halfWidth - b.halfWidth) + xOffset;
b.y = (a.x - b.height) + yOffset;
b.y = (a.y - b.height) + yOffset;

//Compensate for the parent's position
o.compensateForParentPosition(a, b);
Expand Down

0 comments on commit bef6dd8

Please sign in to comment.