Skip to content

Commit

Permalink
Fixing non-transforming browsers with scaling in moveElement.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom MacWright authored and RandomEtc committed Aug 28, 2011
1 parent 8cc664f commit 029b55d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions modestmaps.js
Expand Up @@ -100,8 +100,8 @@ if (!com) {
} else {
el.style.left = point.x + 'px';
el.style.top = point.y + 'px';
el.style.width = point.width + 'px';
el.style.height = point.height + 'px';
el.style.width = Math.ceil(point.width * point.scale) + 'px';
el.style.height = Math.ceil(point.height * point.scale) + 'px';
}
};

Expand Down

0 comments on commit 029b55d

Please sign in to comment.