more design : each theme has his own background
This commit is contained in:
@@ -48,11 +48,11 @@
|
||||
console.log('win :'+winwidth+' | '+winheight);
|
||||
|
||||
if (winwidth < winheight) {
|
||||
console.log("Width target");
|
||||
// console.log("Width target");
|
||||
var w = winwidth*0.9;
|
||||
var h = w*(360/640);
|
||||
}else{
|
||||
console.log("height target");
|
||||
// console.log("height target");
|
||||
var h = winheight*0.9;
|
||||
var w = h*(640/360);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user