forked from 0x2620/pandora
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
|
// fixme: new, check if it can be used more
|
||||||
var height = 0, isVideoPreview;
|
var height = 0, isVideoPreview;
|
||||||
if (pandora.user.ui.showInfo || includeHidden) {
|
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()
|
pandora.user.ui.listSelection.length && !pandora.isClipView()
|
||||||
|
)
|
||||||
);
|
);
|
||||||
height = Math.min(
|
height = Math.min(
|
||||||
isVideoPreview
|
isVideoPreview
|
||||||
|
|
Loading…
Reference in a new issue