diff --git a/ChangeLog b/ChangeLog index 98a64223..f367782e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +06-JUL-2017: 6.8.11 + +- Changes initial footer link to video + 03-JUL-2017: 6.8.10 - Uses mxGraph 3.7.5 beta 1 diff --git a/VERSION b/VERSION index d44a68f1..a373facb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -6.8.10 \ No newline at end of file +6.8.11 \ No newline at end of file diff --git a/src/com/mxgraph/io/vsdx/Shape.java b/src/com/mxgraph/io/vsdx/Shape.java index 028d01a1..7ceb45d8 100644 --- a/src/com/mxgraph/io/vsdx/Shape.java +++ b/src/com/mxgraph/io/vsdx/Shape.java @@ -387,7 +387,8 @@ public class Shape extends Style */ public double getWidth() { - return this.width; + //some shapes has zero width while the height is non-zero. Setting width to 1 fixed it. + return this.width == 0 && this.height > 0 ? 1 : this.width; } /** @@ -396,7 +397,8 @@ public class Shape extends Style */ public double getHeight() { - return this.height; + //some shapes has zero height while the width is non-zero. Setting height to 1 fixed it. + return this.height == 0 && this.width > 0 ? 1 : this.height; } /** diff --git a/src/com/mxgraph/io/vsdx/VsdxShape.java b/src/com/mxgraph/io/vsdx/VsdxShape.java index 1c77f11d..b41c92d7 100644 --- a/src/com/mxgraph/io/vsdx/VsdxShape.java +++ b/src/com/mxgraph/io/vsdx/VsdxShape.java @@ -705,7 +705,8 @@ public class VsdxShape extends Shape double w = getScreenNumericalValue(this.getShapeNode(mxVsdxConstants.WIDTH), 0); double h = getScreenNumericalValue(this.getShapeNode(mxVsdxConstants.HEIGHT), 0); - return new mxPoint(w, h); + //some shapes has zero height/width while the other dimension is non-zero. Setting it to 1 fixed it. + return new mxPoint(w == 0 && h > 0? 1 : w, h == 0 && w > 0? 1 : h); } /** diff --git a/war/cache.manifest b/war/cache.manifest index 544647ad..f4e3570d 100644 --- a/war/cache.manifest +++ b/war/cache.manifest @@ -1,7 +1,7 @@ CACHE MANIFEST # THIS FILE WAS GENERATED. DO NOT MODIFY! -# 07/03/2017 03:41 PM +# 07/06/2017 04:44 PM app.html index.html?offline=1 diff --git a/war/images/glyphicons_youtube.png b/war/images/glyphicons_youtube.png new file mode 100644 index 00000000..53c75033 Binary files /dev/null and b/war/images/glyphicons_youtube.png differ diff --git a/war/index.html b/war/index.html index 927c3957..ddc613c9 100644 --- a/war/index.html +++ b/war/index.html @@ -396,10 +396,9 @@
- - Fork us on GitHub - + + Quick Start Video |
|