* Fix for issue -1636

* intent changes made

* Intendentation and programming convention changes

* Made changes

* SidebarView fix indendation
This commit is contained in:
sgupta7857 2017-03-13 14:24:09 -04:00 коммит произвёл David Humphrey
Родитель de373ef49a
Коммит f2b1c01fcc
1 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@ -54,10 +54,10 @@ define(function (require, exports, module) {
$projectTitle, $projectTitle,
$projectFilesContainer, $projectFilesContainer,
$workingSetViewsContainer; $workingSetViewsContainer;
var _cmdSplitNone, var _cmdSplitNone,
_cmdSplitVertical, _cmdSplitVertical,
_cmdSplitHorizontal; _cmdSplitHorizontal;
var MinimumSidebarWidthPX = 200;
/** /**
* @private * @private
@ -90,7 +90,12 @@ define(function (require, exports, module) {
* Show the sidebar. * Show the sidebar.
*/ */
function show() { function show() {
Resizer.show($sidebar); // XXXBramble: don't allow the sidebar to open at less than our minimum width
if($sidebar.width() < MinimumSidebarWidthPX){
$sidebar.width(MinimumSidebarWidthPX);
}
Resizer.show($sidebar);
} }
/** /**