fixing a bug where item editor view would be off after movies browser toggle

This commit is contained in:
rolux 2011-08-25 19:24:02 +00:00
commit c97c6e3169
3 changed files with 9 additions and 2 deletions

View file

@ -37,6 +37,11 @@ pandora.ui.home = function() {
width: '320px',
height: '160px',
margin: 'auto',
})
.css({
backgroundImage: '-moz-linear-gradient(top, rgba(32, 32, 32, 0.8), rgba(32, 32, 32, 1), rgba(32, 32, 32, 1))'
})
.css({
backgroundImage: '-webkit-linear-gradient(top, rgba(32, 32, 32, 0.8), rgba(32, 32, 32, 1), rgba(32, 32, 32, 1))'
})
.appendTo(that),

View file

@ -361,7 +361,7 @@ pandora.ui.item = function() {
videoSize: pandora.user.ui.videoSize,
width: pandora.$ui.document.width() - pandora.$ui.mainPanel.size(0) - 1
}).bindEvent({
resize: function(data) {
resize: function(event, data) {
pandora.$ui.editor.options({
height: data
});