root пре 2 година
родитељ
комит
7d2728ccf1
1 измењених фајлова са 3 додато и 3 уклоњено
  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(".");