Use event.clientX when available in Resizer#onDragEnd

ref #265
pull/281/head
Thibaut 9 years ago
parent 13db37979f
commit 4035f0fe52

@ -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

Loading…
Cancel
Save