From 6da6d5e2cd5b11798d3187d7fd77bea1eee74660 Mon Sep 17 00:00:00 2001 From: Thibaut Date: Mon, 7 Dec 2015 08:03:12 -0500 Subject: [PATCH] Tweak resizer onDrag handler --- assets/javascripts/views/layout/resizer.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/views/layout/resizer.coffee b/assets/javascripts/views/layout/resizer.coffee index e73142fc..4ddd11ff 100644 --- a/assets/javascripts/views/layout/resizer.coffee +++ b/assets/javascripts/views/layout/resizer.coffee @@ -39,10 +39,10 @@ class app.views.Resizer extends app.View return onDrag: (event) => - return if @lastDrag and @lastDrag > Date.now() - 50 value = event.pageX - @lastDrag = Date.now() @lastDragValue = value + return if @lastDrag and @lastDrag > Date.now() - 50 + @lastDrag = Date.now() @resize(value, false) return