replace Flipbook with VideoPreview
This commit is contained in:
parent
b2070dcbdd
commit
a54d18049e
7 changed files with 67 additions and 92 deletions
|
|
@ -21,6 +21,7 @@ pandora.ui.leftPanel = function() {
|
|||
})
|
||||
.bindEvent({
|
||||
resize: function(event, data) {
|
||||
Ox.print('LEFT PANEL RESIZE')
|
||||
var infoSize = Math.round(data / pandora.user.infoRatio) + 16;
|
||||
pandora.user.ui.sidebarSize = data;
|
||||
if (data < pandora.site.sectionButtonsWidth && pandora.$ui.sectionButtons) {
|
||||
|
|
@ -34,6 +35,10 @@ pandora.ui.leftPanel = function() {
|
|||
}
|
||||
!pandora.user.ui.showInfo && pandora.$ui.leftPanel.css({bottom: -infoSize});
|
||||
pandora.$ui.leftPanel.size(2, infoSize);
|
||||
pandora.$ui.videoPreview && pandora.$ui.videoPreview.options({
|
||||
frameHeight: infoSize - 16,
|
||||
frameWidth: data
|
||||
});
|
||||
pandora.resizeFolders();
|
||||
},
|
||||
resizeend: function(event, data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue