Fixes #265.
Showing the changes to assets/javascripts (1 of 1 file). Show all
Unified · Split
| @@ -40,6 +40,7 @@ class app.views.Resizer extends app.View · 39 unmodified lines | |||
| 40 | 40 | ||
| 41 | onDrag: (event) => | 41 | onDrag: (event) => |
| 42 | value = event.pageX | 42 | value = event.pageX |
| 43 | return unless value > 0 | ||
| 43 | @lastDragValue = value | 44 | @lastDragValue = value |
| 44 | return if @lastDrag and @lastDrag > Date.now() - 50 | 45 | return if @lastDrag and @lastDrag > Date.now() - 50 |
| 45 | @lastDrag = Date.now() | 46 | @lastDrag = Date.now() |