Use event.clientX when available in Resizer#onDragEnd

ref #265
This commit is contained in:
Thibaut 2015-09-13 14:30:35 -04:00
parent 13db37979f
commit 4035f0fe52

View file

@ -45,5 +45,5 @@ class app.views.Resizer extends app.View
return
onDragEnd: (event) =>
@resize(event.screenX - window.screenX, true)
@resize(event.clientX or (event.screenX - window.screenX), true)
return