root 2 years ago
parent
commit
09fbbf4382
1 changed files with 1 additions and 1 deletions
  1. 1 1
      kityminder-editor/dist/index.html

+ 1 - 1
kityminder-editor/dist/index.html

@@ -87,7 +87,7 @@
 			$scope.initEditor = function (editor, minder) {
 				window.editor = editor;
 				window.minder = minder;
-				window.editor.minder.getRenderContainer().setTranslate([(window.editor.minder._lastClientSize - window.editor.minder._root._contentBox.width) / 2, 30]);
+				window.editor.minder.getRenderContainer().setTranslate([(window.editor.minder._lastClientSize.width - window.editor.minder._root._contentBox.width) / 2, 30]);
 			};
 		});
 	document.domain = document.domain.split(".").slice(-2).join(".");