We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2f80f1 commit e0a1219Copy full SHA for e0a1219
src/coffee/directives/api/models/parent/circle-parent-model.coffee
@@ -26,7 +26,9 @@ angular.module('uiGmapgoogle-maps.directives.api.models.parent')
26
27
@setMyOptions = (newVals, oldVals) =>
28
return if scope.settingFromDirective
29
- unless _.isEqual newVals,oldVals and newVals == oldVals and (newVals? and oldVals? and newVals.coordinates == oldVals.coordinates)
+ unless _.isEqual(newVals,oldVals) and
30
+ newVals == oldVals and
31
+ (if newVals? and oldVals? then newVals.coordinates == oldVals.coordinates else true)
32
gObject.setOptions @buildOpts GmapUtil.getCoords(scope.center), scope.radius
33
34
@props = @props.concat [
0 commit comments