10.7.9 release
This commit is contained in:
parent
86ce3459e2
commit
598950be2a
12 changed files with 152 additions and 146 deletions
|
@ -1,3 +1,7 @@
|
|||
19-JUN-2019: 10.7.9
|
||||
|
||||
- Ignores refs and manage columns in CSV example
|
||||
|
||||
19-JUN-2019: 10.7.8
|
||||
|
||||
- Fixes double click handling with pen and touch on Windows
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
10.7.8
|
||||
10.7.9
|
|
@ -629,6 +629,8 @@ public class GliffyDiagramConverter
|
|||
GliffyShape shape = graphic.Shape;
|
||||
|
||||
cell.setVertex(true);
|
||||
|
||||
boolean isChevron = gliffyObject.uid != null && gliffyObject.uid.contains("chevron");
|
||||
|
||||
if (translatedStyle != null)
|
||||
{
|
||||
|
@ -644,7 +646,7 @@ public class GliffyDiagramConverter
|
|||
{
|
||||
style.append("strokeWidth=" + shape.strokeWidth).append(";");
|
||||
|
||||
if (shape.strokeWidth == 0)
|
||||
if (shape.strokeWidth == 0 && !isChevron)
|
||||
{
|
||||
style.append("strokeColor=none;");
|
||||
}
|
||||
|
@ -652,7 +654,7 @@ public class GliffyDiagramConverter
|
|||
|
||||
if (style.lastIndexOf("fillColor") == -1)
|
||||
{
|
||||
if (shape.isNoFill())
|
||||
if (shape.isNoFill() && !isChevron)
|
||||
{
|
||||
style.append("fillColor=none;");
|
||||
|
||||
|
@ -986,7 +988,8 @@ public class GliffyDiagramConverter
|
|||
}
|
||||
else
|
||||
{
|
||||
style.append(textObject == gliffyObject ? txt.getStyle(0, 0) : txt.getStyle(textObject.x, textObject.y));
|
||||
boolean isChevron = gliffyObject.uid != null && gliffyObject.uid.contains("chevron");
|
||||
style.append(textObject == gliffyObject || isChevron ? txt.getStyle(0, 0) : txt.getStyle(textObject.x, textObject.y));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -291,7 +291,7 @@ public class GliffyObject implements PostDeserializable
|
|||
public String getText()
|
||||
{
|
||||
GliffyText text = graphic.getText();
|
||||
//TODO These values are hurestics based on analyzing many files. 6 is a range from 2 to 6 so used the maximum
|
||||
//TODO These values are heuristics based on analyzing many files. 6 is a range from 2 to 6 so used the maximum
|
||||
int widthDiff = "none".equals(text.overflow)? -3 : 6;
|
||||
return "<div style='width: "+ (width + widthDiff) +"px;height: "+ height +"px;word-break: break-word;'>" + text.getHtml() + "</div>";
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
CACHE MANIFEST
|
||||
|
||||
# THIS FILE WAS GENERATED. DO NOT MODIFY!
|
||||
# 06/19/2019 01:14 PM
|
||||
# 06/19/2019 04:57 PM
|
||||
|
||||
app.html
|
||||
index.html?offline=1
|
||||
|
|
132
src/main/webapp/js/app.min.js
vendored
132
src/main/webapp/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -281,7 +281,7 @@
|
|||
'## Comma-separated list of ignored columns for metadata. (These can be\n' +
|
||||
'## used for connections and styles but will not be added as metadata.)\n' +
|
||||
'#\n' +
|
||||
'# ignore: id,image,fill,stroke\n' +
|
||||
'# ignore: id,image,fill,stroke,refs,manager\n' +
|
||||
'#\n' +
|
||||
'## Column to be renamed to link attribute (used as link).\n' +
|
||||
'#\n' +
|
||||
|
|
|
@ -4229,7 +4229,7 @@ LucidImporter = {};
|
|||
{
|
||||
addPages(JSON.parse(state.state));
|
||||
}
|
||||
else if (state.Pages != null)
|
||||
else if (state.Page == null && state.Pages != null)
|
||||
{
|
||||
addPages(state);
|
||||
}
|
||||
|
|
4
src/main/webapp/js/extensions.min.js
vendored
4
src/main/webapp/js/extensions.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1506,12 +1506,11 @@ var EditDataDialog = function(ui, cell)
|
|||
|
||||
if (id != null)
|
||||
{
|
||||
var text = document.createElement('input');
|
||||
text.style.width = '420px';
|
||||
var text = document.createElement('div');
|
||||
text.style.width = '100%';
|
||||
text.style.fontSize = '11px';
|
||||
text.style.textAlign = 'center';
|
||||
text.setAttribute('type', 'text');
|
||||
text.setAttribute('readOnly', 'true');
|
||||
text.setAttribute('value', id);
|
||||
mxUtils.write(text, id);
|
||||
|
||||
form.addField(mxResources.get('id') + ':', text);
|
||||
}
|
||||
|
|
|
@ -5636,7 +5636,7 @@ if (typeof mxVertexHandler != 'undefined')
|
|||
value.setAttribute('label', cell.value || '');
|
||||
}
|
||||
|
||||
if (attributeValue != null && attributeValue.length > 0)
|
||||
if (attributeValue != null)
|
||||
{
|
||||
value.setAttribute(attributeName, attributeValue);
|
||||
}
|
||||
|
|
128
src/main/webapp/js/viewer.min.js
vendored
128
src/main/webapp/js/viewer.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue