Permalink
Browse files

Fix inconsistent indentation

  • Loading branch information...
nvh committed Oct 27, 2016
1 parent bdd0656 commit ff34779d932136f19388ff395b101649f6680fdc
View
@@ -140,13 +140,13 @@ class exports.Animation extends BaseClass
@_stateA.hasOwnProperty("minX") or
@_stateA.hasOwnProperty("midX") or
@_stateA.hasOwnProperty("maxX"))
animation.stop()
animation.stop()
if property is "y" and (
@_stateA.hasOwnProperty("minY") or
@_stateA.hasOwnProperty("midY") or
@_stateA.hasOwnProperty("maxY"))
animation.stop()
animation.stop()
if @options.debug
console.log "Animation.start"
@@ -571,7 +571,7 @@ class ShareComponent
@sheet.height = @sheet.maxHeight
if @options.truncatedDescription
@description.height = @descriptionTruncatedSize.height
@description.height = @descriptionTruncatedSize.height
else
@description.height = @descriptionSize.height
View
@@ -345,8 +345,8 @@ class exports.Context extends BaseClass
@define "perspectiveOriginY",
get: ->
return @_perspectiveOriginY if _.isNumber(@_perspectiveOriginY)
return .5
return @_perspectiveOriginY if _.isNumber(@_perspectiveOriginY)
return .5
set: (value) ->
if _.isNumber(value)
@_perspectiveOriginY = value
@@ -18,7 +18,7 @@ class ShareInfo extends BaseClass
# When enabled before specifying Framer.Info
if _.isEmpty(Framer.Info)
Utils.delay 0, run
Utils.delay 0, run
else
run()
View
@@ -1074,7 +1074,7 @@ class exports.Layer extends BaseClass
Events.Click, Events.Tap, Events.TapStart, Events.TapEnd,
Events.LongPress, Events.LongPressStart, Events.LongPressEnd]
parentDraggableLayer = @_parentDraggableLayer()
parentDraggableLayer = @_parentDraggableLayer()
if parentDraggableLayer
@@ -1271,7 +1271,7 @@ class exports.Layer extends BaseClass
for parent in @ancestors(context=true)
if parent.clip
frame = Utils.frameIntersection(frame, parent.canvasFrame)
frame = Utils.frameIntersection(frame, parent.canvasFrame)
if not frame
return

0 comments on commit ff34779

Please sign in to comment.