зеркало из https://github.com/mozilla/brackets.git
Rename File Error when Copy/Past Index.html content to file tree (#573)
* Fix Issue with file disappearance upon renaming error * Fix Issue File Dissapear Upon Incorrect Rename * Fix Issue File Dissapear Upon Incorrect Rename * added comment * Comment Fix
This commit is contained in:
Родитель
f890aa1943
Коммит
5dbb556826
|
@ -635,7 +635,8 @@ define(function (require, exports, module) {
|
||||||
if (!projectRoot) {
|
if (!projectRoot) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
model.setScrollerInfo($projectTreeContainer[0].scrollWidth, $projectTreeContainer.scrollTop(), $projectTreeContainer.scrollLeft(), $projectTreeContainer.offset().top);
|
//XXXbramble: We don't want to allow the user to scroll off the right, hiding the files
|
||||||
|
model.setScrollerInfo($projectTreeContainer[0].scrollWidth, $projectTreeContainer.scrollTop(), 0, $projectTreeContainer.offset().top);
|
||||||
FileTreeView.render(fileTreeViewContainer, model._viewModel, projectRoot, actionCreator, forceRender, brackets.platform);
|
FileTreeView.render(fileTreeViewContainer, model._viewModel, projectRoot, actionCreator, forceRender, brackets.platform);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче