fix #2130 (Documents view: Icon list doesn't properly resize on sidebar collapse)
This commit is contained in:
parent
0ac0121c97
commit
8b684f973b
2 changed files with 7 additions and 1 deletions
|
@ -393,6 +393,10 @@ pandora.ui.documentsPanel = function(options) {
|
|||
}
|
||||
});
|
||||
|
||||
if (isItemView) {
|
||||
pandora.$ui.documentsList = $list;
|
||||
}
|
||||
|
||||
that.bindEvent(
|
||||
'pandora_documentsselection.' + (isItemView ? ui.item.toLowerCase() : ''),
|
||||
selectDocuments
|
||||
|
|
|
@ -41,7 +41,9 @@ pandora.ui.rightPanel = function() {
|
|||
}
|
||||
} else {
|
||||
pandora.$ui.browser.scrollToSelection();
|
||||
if (pandora.user.ui.itemView == 'clips') {
|
||||
if (pandora.user.ui.itemView == 'documents') {
|
||||
pandora.$ui.documentsList.size();
|
||||
} else if (pandora.user.ui.itemView == 'clips') {
|
||||
pandora.$ui.clipList.size();
|
||||
} else if (pandora.user.ui.itemView == 'timeline') {
|
||||
pandora.$ui.timeline.options({width: data.size});
|
||||
|
|
Loading…
Reference in a new issue