Permalink
Browse files

Make sure we don't double set label

  • Loading branch information...
koenbok committed Aug 29, 2017
1 parent 0c8e7c2 commit 4fdc1399849a4cdac0902e662a73d10d6a55b135
Showing with 2 additions and 1 deletion.
  1. +2 −1 framer/Layer.coffee
View
@@ -244,7 +244,8 @@ class exports.Layer extends BaseClass
@define "label",
get: -> @_label
set: (value="") ->
set: (value) ->
return if value is @_label
@_label = value
Utils.labelLayer(@, @_label)

0 comments on commit 4fdc139

Please sign in to comment.