Skip to content

Commit

Permalink
Fixed bug in getting relative mouse position in canvas for FireFox
Browse files Browse the repository at this point in the history
  • Loading branch information
skeelogy committed Oct 9, 2013
1 parent 5188704 commit e1badaa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.html
Expand Up @@ -919,7 +919,8 @@
//centralize
$threejsContainerElem.css({
'width': (width * 1.1) + 'px',
'margin': '0 auto'
'margin': '0 auto',
'position': 'relative'
});
}

Expand Down

0 comments on commit e1badaa

Please sign in to comment.