зеркало из https://github.com/mozilla/brackets.git
Fix for issue -1636 (#613)
* Fix for issue -1636 * intent changes made * Intendentation and programming convention changes * Made changes * SidebarView fix indendation
This commit is contained in:
Родитель
de373ef49a
Коммит
f2b1c01fcc
|
@ -54,10 +54,10 @@ define(function (require, exports, module) {
|
|||
$projectTitle,
|
||||
$projectFilesContainer,
|
||||
$workingSetViewsContainer;
|
||||
|
||||
var _cmdSplitNone,
|
||||
_cmdSplitVertical,
|
||||
_cmdSplitHorizontal;
|
||||
var MinimumSidebarWidthPX = 200;
|
||||
|
||||
/**
|
||||
* @private
|
||||
|
@ -90,6 +90,11 @@ define(function (require, exports, module) {
|
|||
* Show the sidebar.
|
||||
*/
|
||||
function show() {
|
||||
// XXXBramble: don't allow the sidebar to open at less than our minimum width
|
||||
if($sidebar.width() < MinimumSidebarWidthPX){
|
||||
$sidebar.width(MinimumSidebarWidthPX);
|
||||
}
|
||||
|
||||
Resizer.show($sidebar);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче