Skip to content

Commit 891af3b

Browse files
committed
Change layout update to use new logic
1 parent e397429 commit 891af3b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/plots/plots.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1418,6 +1418,8 @@ plots.extendObjectWithContainers = function(dest, src, containerPaths) {
14181418
for(j = 0; j < srcContainer.length; j++) {
14191419
destContainer[j] = plots.extendObjectWithContainers(destContainer[j], srcContainer[j]);
14201420
}
1421+
1422+
destProp.set(destContainer);
14211423
}
14221424
}
14231425

@@ -1510,7 +1512,7 @@ plots.transition = function(gd, data, layout, traces, frameOpts, transitionOpts)
15101512
delete layoutUpdate[attr].range;
15111513
}
15121514

1513-
Lib.extendDeepNoArrays(gd.layout, layoutUpdate);
1515+
plots.extendLayout(gd.layout, layoutUpdate);
15141516

15151517
// Supply defaults after applying the incoming properties. Note that any attempt
15161518
// to simplify this step and reduce the amount of work resulted in the reconstruction

0 commit comments

Comments
 (0)