Browse Source

8.9.1 release

Former-commit-id: 46cb51e97929c9b57a3e8b80aea90c2a090b6096
Gaudenz Alder 7 years ago
parent
commit
27ae0594a3

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+04-JUL-2018: 8.9.1
+
+- Fixes initial scroll offset in minimal UI
+- Fixes possible invalid height for viewer
+
 04-JUL-2018: 8.9.0
 
 - Faster preview in Chrome, Firefox and Edge (beta)

+ 1 - 1
VERSION

@@ -1 +1 @@
-8.9.0
+8.9.1

+ 1 - 1
src/main/webapp/cache.manifest

@@ -1,7 +1,7 @@
 CACHE MANIFEST
 
 # THIS FILE WAS GENERATED. DO NOT MODIFY!
-# 07/04/2018 12:24 PM
+# 07/04/2018 09:49 PM
 
 app.html
 index.html?offline=1

File diff suppressed because it is too large
+ 4 - 4
src/main/webapp/js/app.min.js


File diff suppressed because it is too large
+ 4 - 4
src/main/webapp/js/atlas-viewer.min.js


File diff suppressed because it is too large
+ 4 - 4
src/main/webapp/js/atlas.min.js


+ 3 - 2
src/main/webapp/js/diagramly/GraphViewer.js

@@ -102,7 +102,8 @@ GraphViewer.prototype.init = function(container, xmlNode, graphConfig)
 				this.graph.transparentBackground = false;
 				this.graph.useCssTransforms = this.graph.isCssTransformsSupported();
 				
-			    // Required for Math workaround in Graph.updateCssTransform
+			    // Required for Math workaround in Graph.updateCssTransform and
+				// relative is needed for auto size of offsetParent
 			    if (mxClient.IS_SVG && this.graph.useCssTransforms &&
 			    	this.graph.view.getDrawPane() != null)
 			    {
@@ -110,7 +111,7 @@ GraphViewer.prototype.init = function(container, xmlNode, graphConfig)
 			        
 			        if (root != null)
 			        {
-			            root.style.position = 'absolute';
+			            root.style.position = 'relative';
 			        }
 			    }
 			    

+ 1 - 1
src/main/webapp/js/diagramly/Minimal.js

@@ -340,7 +340,7 @@ EditorUi.initMinimalTheme = function()
         {
         	// Makes room for view zoom menu
         	this.tabContainer.style.right = '70px';
-        	this.diagramContainer.style.bottom = (this.tabContainer.style.visibility != 'hidden') ? '30px' : '0px';
+        	this.diagramContainer.style.bottom = '30px';
         }
     	
     	editorUiUpdateTabContainer.apply(this, arguments);

File diff suppressed because it is too large
+ 1 - 1
src/main/webapp/js/embed-static.min.js


File diff suppressed because it is too large
+ 1 - 1
src/main/webapp/js/reader.min.js


File diff suppressed because it is too large
+ 4 - 4
src/main/webapp/js/viewer.min.js


+ 1 - 4
src/main/webapp/plugins/webcola/mxWebColaLayout.js

@@ -23,7 +23,7 @@
  * graph - <mxGraph> that contains the cells.
  *
  **/
-function mxWebColaLayout(graph, layoutType)
+function mxWebColaLayout(graph)
 /**
  * Constructs a WebCola-based layout
  * @param graph <mxGraph> that contains the cells.
@@ -31,14 +31,11 @@ function mxWebColaLayout(graph, layoutType)
  */
 {
   mxGraphLayout.call(this, graph);
-  this.layoutType = layoutType;
 };
 
 mxWebColaLayout.prototype = new mxGraphLayout();
 mxWebColaLayout.prototype.constructor = mxWebColaLayout;
 
-mxWebColaLayout.prototype.layoutType = null;
-
 mxWebColaLayout.prototype.execute = function(parent)
   /**
    * Runs re-layouting of the portion of a graph from a given starting cell

+ 2 - 0
src/main/webapp/plugins/webcola/webcola.js

@@ -13,6 +13,8 @@ Draw.loadPlugin(function(ui)
 	// Adds action
 	ui.actions.addAction('webColaLayout', function()
 	{
+		// TODO: set mxWebColaAdaptor's doAnimations to the value of editorUi.allowAnimation
+		// TODO: don't record all animation steps as undo states
 		var graph = ui.editor.graph;
 		var layout = new mxWebColaLayout(graph);
 		var parent = graph.getDefaultParent();