提交 3f1abe08 编写于 作者: D David Benson

22.0.3 release

上级 751f38d4
05-OCT-2023: 22.0.3
- Fixes possible NPE in clonePages error handler
- [vsdx] Stops using default theme when theme index not found [DID-9622]
- Fixes tags dialog icons in dark mode [drawio-3910]
03-OCT-2023: 22.0.2 03-OCT-2023: 22.0.2
- Fixes new save dialog for SharePoint [drawio-3900] - Fixes new save dialog for SharePoint [drawio-3900]
......
22.0.2 22.0.3
\ No newline at end of file \ No newline at end of file
因为 它太大了无法显示 source diff 。你可以改为 查看blob
...@@ -6139,6 +6139,7 @@ ...@@ -6139,6 +6139,7 @@
img.setAttribute('src', visible ? Editor.visibleImage : Editor.hiddenImage); img.setAttribute('src', visible ? Editor.visibleImage : Editor.hiddenImage);
img.setAttribute('title', mxResources.get(visible ? 'hideIt' : 'show', [tag])); img.setAttribute('title', mxResources.get(visible ? 'hideIt' : 'show', [tag]));
mxUtils.setOpacity(img, visible ? 75 : 25); mxUtils.setOpacity(img, visible ? 75 : 25);
img.className = 'geAdaptiveAsset';
img.style.verticalAlign = 'middle'; img.style.verticalAlign = 'middle';
img.style.cursor = 'pointer'; img.style.cursor = 'pointer';
img.style.width = '16px'; img.style.width = '16px';
...@@ -6176,6 +6177,7 @@ ...@@ -6176,6 +6177,7 @@
img.setAttribute('src', Editor.selectImage); img.setAttribute('src', Editor.selectImage);
img.setAttribute('title', mxResources.get('select')); img.setAttribute('title', mxResources.get('select'));
mxUtils.setOpacity(img, visible ? 75 : 25); mxUtils.setOpacity(img, visible ? 75 : 25);
img.className = 'geAdaptiveAsset';
img.style.verticalAlign = 'middle'; img.style.verticalAlign = 'middle';
img.style.cursor = 'pointer'; img.style.cursor = 'pointer';
img.style.width = '16px'; img.style.width = '16px';
...@@ -6250,6 +6252,7 @@ ...@@ -6250,6 +6252,7 @@
img.setAttribute('src', Editor.trashImage); img.setAttribute('src', Editor.trashImage);
img.setAttribute('title', mxResources.get('removeIt', [tag])); img.setAttribute('title', mxResources.get('removeIt', [tag]));
mxUtils.setOpacity(img, visible ? 75 : 25); mxUtils.setOpacity(img, visible ? 75 : 25);
img.className = 'geAdaptiveAsset';
img.style.verticalAlign = 'middle'; img.style.verticalAlign = 'middle';
img.style.cursor = 'pointer'; img.style.cursor = 'pointer';
img.style.width = '16px'; img.style.width = '16px';
......
...@@ -1390,8 +1390,8 @@ EditorUi.prototype.clonePages = function(pages) ...@@ -1390,8 +1390,8 @@ EditorUi.prototype.clonePages = function(pages)
} }
catch (e) catch (e)
{ {
errors.push(mxResources.get('pageWithNumber', [i + 1]) + errors.push(mxResources.get('pageWithNumber',
' (' + pages[i].getName() + '): ' + e.message); [i + 1]) + ': ' + e.message);
} }
} }
......
...@@ -10072,7 +10072,12 @@ var com; ...@@ -10072,7 +10072,12 @@ var com;
return m.entries[i].value; return m.entries[i].value;
} return null; })(model.getThemes(), themeIndex); } return null; })(model.getThemes(), themeIndex);
if (theme == null) { if (theme == null) {
theme = model.getDefaultTheme(); if (urlParams['dev'] == '1')
{
console.log('No theme found for index ' + themeIndex);
}
// Using a default theme doesn't work well with all cases. Maybe give users an option to choose a default theme?
// theme = model.getDefaultTheme();
} }
var variant = page.getCellIntValue("VariationColorIndex", 0); var variant = page.getCellIntValue("VariationColorIndex", 0);
_this.setThemeAndVariant(theme, variant); _this.setThemeAndVariant(theme, variant);
......
因为 它太大了无法显示 source diff 。你可以改为 查看blob
此差异已折叠。
var mxClient={VERSION:"22.0.2",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"), var mxClient={VERSION:"22.0.3",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),
IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor), IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor),
IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform)||navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&2<navigator.maxTouchPoints,IS_WEBVIEW:/((iPhone|iPod|iPad).*AppleWebKit(?!.*Version)|; wv)/i.test(navigator.userAgent),IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:-1<navigator.userAgent.toLowerCase().indexOf("firefox"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&& IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform)||navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&2<navigator.maxTouchPoints,IS_WEBVIEW:/((iPhone|iPod|iPad).*AppleWebKit(?!.*Version)|; wv)/i.test(navigator.userAgent),IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:-1<navigator.userAgent.toLowerCase().indexOf("firefox"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&
0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS|| 0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册