root 2 年之前
父节点
当前提交
09fbbf4382
共有 1 个文件被更改,包括 1 次插入1 次删除
  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(".");