- Fix: Ensure copy preserves array values (e.g., dimensions in URL per #320)
parent
d01abf19d2
commit
d7b9cc6309
|
@ -29104,7 +29104,7 @@ editor.setConfig = function (opts, cfgCfg) {
|
|||
} else if (cfgCfg.allowInitialUserOverride === true) {
|
||||
extendOrAdd(defaultConfig, key, val);
|
||||
} else if (defaultConfig[key] && _typeof(defaultConfig[key]) === 'object') {
|
||||
curConfig[key] = {};
|
||||
curConfig[key] = Array.isArray(defaultConfig[key]) ? [] : {};
|
||||
$$b.extend(true, curConfig[key], val); // Merge properties recursively, e.g., on initFill, initStroke objects
|
||||
} else {
|
||||
curConfig[key] = val;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -29110,7 +29110,7 @@
|
|||
} else if (cfgCfg.allowInitialUserOverride === true) {
|
||||
extendOrAdd(defaultConfig, key, val);
|
||||
} else if (defaultConfig[key] && _typeof(defaultConfig[key]) === 'object') {
|
||||
curConfig[key] = {};
|
||||
curConfig[key] = Array.isArray(defaultConfig[key]) ? [] : {};
|
||||
$$b.extend(true, curConfig[key], val); // Merge properties recursively, e.g., on initFill, initStroke objects
|
||||
} else {
|
||||
curConfig[key] = val;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -541,7 +541,7 @@ editor.setConfig = function (opts, cfgCfg) {
|
|||
} else if (cfgCfg.allowInitialUserOverride === true) {
|
||||
extendOrAdd(defaultConfig, key, val);
|
||||
} else if (defaultConfig[key] && typeof defaultConfig[key] === 'object') {
|
||||
curConfig[key] = {};
|
||||
curConfig[key] = Array.isArray(defaultConfig[key]) ? [] : {};
|
||||
$.extend(true, curConfig[key], val); // Merge properties recursively, e.g., on initFill, initStroke objects
|
||||
} else {
|
||||
curConfig[key] = val;
|
||||
|
|
|
@ -29107,7 +29107,7 @@
|
|||
} else if (cfgCfg.allowInitialUserOverride === true) {
|
||||
extendOrAdd(defaultConfig, key, val);
|
||||
} else if (defaultConfig[key] && _typeof(defaultConfig[key]) === 'object') {
|
||||
curConfig[key] = {};
|
||||
curConfig[key] = Array.isArray(defaultConfig[key]) ? [] : {};
|
||||
$$b.extend(true, curConfig[key], val); // Merge properties recursively, e.g., on initFill, initStroke objects
|
||||
} else {
|
||||
curConfig[key] = val;
|
||||
|
|
|
@ -29107,7 +29107,7 @@
|
|||
} else if (cfgCfg.allowInitialUserOverride === true) {
|
||||
extendOrAdd(defaultConfig, key, val);
|
||||
} else if (defaultConfig[key] && _typeof(defaultConfig[key]) === 'object') {
|
||||
curConfig[key] = {};
|
||||
curConfig[key] = Array.isArray(defaultConfig[key]) ? [] : {};
|
||||
$$b.extend(true, curConfig[key], val); // Merge properties recursively, e.g., on initFill, initStroke objects
|
||||
} else {
|
||||
curConfig[key] = val;
|
||||
|
|
Loading…
Reference in New Issue