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 | 41 | onDrag: (event) => |
| 42 | 42 | value = event.pageX |
| 43 | + return unless value > 0 | |
| 43 | 44 | @lastDragValue = value |
| 44 | 45 | return if @lastDrag and @lastDrag > Date.now() - 50 |
| 45 | 46 | @lastDrag = Date.now() |