Corrected bug on firefox (Thanks mpizenberg)

This commit is contained in:
Thomas FORGIONE 2016-10-06 10:42:09 +02:00
parent e7f00b896e
commit bb9709ee0d
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ $(function() { sio = (function() {
$(window).resize(update);
sio.onMouseDown = function() {
sio.onMouseDown = function(event) {
var x = event.offsetX / canvasPdf.width;
var y = event.offsetY / canvasPdf.height;