fix #1271 (text info panel should always be square)
This commit is contained in:
parent
560df97101
commit
b36f537f45
1 changed files with 4 additions and 2 deletions
|
@ -628,8 +628,10 @@ pandora.getInfoHeight = function(includeHidden) {
|
|||
// fixme: new, check if it can be used more
|
||||
var height = 0, isVideoPreview;
|
||||
if (pandora.user.ui.showInfo || includeHidden) {
|
||||
isVideoPreview = pandora.user.ui.item || (
|
||||
isVideoPreview = pandora.user.ui.section == 'items' && (
|
||||
pandora.user.ui.item || (
|
||||
pandora.user.ui.listSelection.length && !pandora.isClipView()
|
||||
)
|
||||
);
|
||||
height = Math.min(
|
||||
isVideoPreview
|
||||
|
|
Loading…
Reference in a new issue