(propStr, val)
| 48 | var eventData = {}; |
| 49 | |
| 50 | function set(propStr, val) { |
| 51 | preGUI[id + '.' + propStr] = Lib.nestedProperty(userOpts, propStr).get(); |
| 52 | Registry.call('_storeDirectGUIEdit', layout, fullLayout._preGUI, preGUI); |
| 53 | |
| 54 | var fullNp = Lib.nestedProperty(fullOpts, propStr); |
| 55 | if(fullNp.get() !== val) { |
| 56 | fullNp.set(val); |
| 57 | Lib.nestedProperty(userOpts, propStr).set(val); |
| 58 | eventData[id + '.' + propStr] = val; |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | cb(set); |
| 63 | set('projection.scale', projection.scale() / geo.fitScale); |
no outgoing calls
no test coverage detected