@node-red/editor-client 4.1.6 → 4.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/public/red/about +11 -0
- package/public/red/red.js +7 -2
- package/public/red/red.min.js +2 -2
- package/public/red/style.min.css +1 -1
- package/public/vendor/vendor.js +1 -1
package/package.json
CHANGED
package/public/red/about
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
#### 4.1.7: Maintenance Release
|
|
2
|
+
|
|
3
|
+
- Do not block touch events on ports (#5527) @knolleary
|
|
4
|
+
- Allow palette.categories to be set via theme plugin (#5526) @knolleary
|
|
5
|
+
- Bump i18next version (#5519) @knolleary
|
|
6
|
+
- Suppress i18n notice in frontend (#5528) @knolleary
|
|
7
|
+
- Set showSupportNotice option on i18n (#5520) @knolleary
|
|
8
|
+
- Do not cache subflow colors as each subflow can have its own (#5518) @knolleary
|
|
9
|
+
- Update tar/multer deps (#5515) @knolleary
|
|
10
|
+
- Remove IE7 CSS hacks (#5511) @bonanitech
|
|
11
|
+
|
|
1
12
|
#### 4.1.6: Maintenance Release
|
|
2
13
|
|
|
3
14
|
- Allow palette.theme to be set via theme plugin and include icons (#5500) @knolleary
|
package/public/red/red.js
CHANGED
|
@@ -1363,6 +1363,7 @@ RED.i18n = (function() {
|
|
|
1363
1363
|
apiRootUrl = options.apiRootUrl||"";
|
|
1364
1364
|
var preferredLanguage = localStorage.getItem("editor-language") || detectLanguage();
|
|
1365
1365
|
var opts = {
|
|
1366
|
+
showSupportNotice: false,
|
|
1366
1367
|
backend: {
|
|
1367
1368
|
loadPath: apiRootUrl+'locales/__ns__?lng=__lng__',
|
|
1368
1369
|
},
|
|
@@ -11190,6 +11191,9 @@ RED.utils = (function() {
|
|
|
11190
11191
|
|
|
11191
11192
|
function getNodeColor(type, def) {
|
|
11192
11193
|
def = def || {};
|
|
11194
|
+
if (type === 'subflow') {
|
|
11195
|
+
return def.color
|
|
11196
|
+
}
|
|
11193
11197
|
if (!nodeColorCache.hasOwnProperty(type)) {
|
|
11194
11198
|
const paletteTheme = RED.settings.theme('palette.theme') || [];
|
|
11195
11199
|
if (paletteTheme.length > 0) {
|
|
@@ -26020,7 +26024,8 @@ RED.view = (function() {
|
|
|
26020
26024
|
clearSuggestedFlow();
|
|
26021
26025
|
RED.contextMenu.hide();
|
|
26022
26026
|
evt = evt || d3.event;
|
|
26023
|
-
|
|
26027
|
+
|
|
26028
|
+
if (!evt.touches && evt.button !== 0) {
|
|
26024
26029
|
return;
|
|
26025
26030
|
}
|
|
26026
26031
|
if (mouse_mode === RED.state.SELECTING_NODE) {
|
|
@@ -26876,7 +26881,7 @@ RED.view = (function() {
|
|
|
26876
26881
|
d3.event.stopPropagation();
|
|
26877
26882
|
return;
|
|
26878
26883
|
}
|
|
26879
|
-
if (d3.event.button !== 0) {
|
|
26884
|
+
if (!d3.event.touches && d3.event.button !== 0) {
|
|
26880
26885
|
return
|
|
26881
26886
|
}
|
|
26882
26887
|
mousedown_link = d;
|