|
@@ -2117,14 +2117,21 @@
|
|
if ($("#playerInterface").offset().left != 0){
|
|
if ($("#playerInterface").offset().left != 0){
|
|
$("#playerInterface").css("left",window.innerWidth);
|
|
$("#playerInterface").css("left",window.innerWidth);
|
|
}
|
|
}
|
|
- $("#albumnArt").css({
|
|
|
|
- "height": window.innerHeight - 255,
|
|
|
|
- "top": (window.innerHeight / 2 - $("#albumnArtImage").height()/2)
|
|
|
|
- });
|
|
|
|
|
|
+
|
|
$("#albumnArtImage").css("max-height",window.innerHeight - 255);
|
|
$("#albumnArtImage").css("max-height",window.innerHeight - 255);
|
|
|
|
+
|
|
|
|
+ setTimeout(function(){
|
|
|
|
+ $("#albumnArt").css({
|
|
|
|
+ "height": window.innerHeight - 255,
|
|
|
|
+ "top": (window.innerHeight / 2 - $("#albumnArtImage").height()/2)
|
|
|
|
+ });
|
|
|
|
+ },50);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
//var imageTop = (window.innerHeight - 255 - $("#albumnArtImage").height()) / 2;
|
|
//var imageTop = (window.innerHeight - 255 - $("#albumnArtImage").height()) / 2;
|
|
//$("#albumnArtImage").css("top",imageTop + "px");
|
|
//$("#albumnArtImage").css("top",imageTop + "px");
|
|
- //console.log(window.innerHeight,imageTop);
|
|
|
|
|
|
+ console.log(window.innerHeight);
|
|
}
|
|
}
|
|
|
|
|
|
function setStorage(configName,configValue){
|
|
function setStorage(configName,configValue){
|
|
@@ -2260,8 +2267,8 @@
|
|
}
|
|
}
|
|
|
|
|
|
//Handle window resize events
|
|
//Handle window resize events
|
|
- $( window ).resize(function() {
|
|
|
|
- resizeQuickAdjust();
|
|
|
|
|
|
+ $(window).on("resize", function(){
|
|
|
|
+ resizeQuickAdjust();
|
|
});
|
|
});
|
|
|
|
|
|
function AllQuickMenuHidden(){
|
|
function AllQuickMenuHidden(){
|