root 2 år sedan
förälder
incheckning
7d2728ccf1
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      kityminder-editor/dist/index.html

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

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