Skip to content

Commit bef6dd8

Browse files
Merge pull request #68 from zpchavez/master
Fix putTop
2 parents 6a8c6c6 + 211ce7c commit bef6dd8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ga.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ GA.create = function(width, height, setup, assetsToLoad, load) {
692692
xOffset = xOffset || 0;
693693
yOffset = yOffset || 0;
694694
b.x = (a.x + a.halfWidth - b.halfWidth) + xOffset;
695-
b.y = (a.x - b.height) + yOffset;
695+
b.y = (a.y - b.height) + yOffset;
696696

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

0 commit comments

Comments
 (0)