Corrected bug on firefox (Thanks mpizenberg)
This commit is contained in:
parent
e7f00b896e
commit
bb9709ee0d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue