Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix scrolling bug due to drag event canceling
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
framer/Layer.coffee
|
@@ -986,7 +986,7 @@ class exports.Layer extends BaseClass |
|
|
@_domEventManager.removeAllListeners(eventName) |
|
|
|
|
|
_parentDraggableLayer: -> |
|
|
for layer in @ancestors().concat(@) |
|
|
for layer in @ancestors() |
|
|
return layer if layer._draggable?.enabled |
|
|
return null |
|
|
|
|
|