This commit is contained in:
parent
9f8068a5bb
commit
e754c00a18
24
game/game.js
24
game/game.js
|
@ -22720,8 +22720,8 @@
|
||||||
newlined2.style.display='none';
|
newlined2.style.display='none';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
for(var i=0;i<lib.config.all.characters.length;i++){
|
||||||
for(var i=0;i<lib.config.characters.length;i++){
|
if(!lib.config.characters.contains(lib.config.all.characters[i])) continue;
|
||||||
var span=document.createElement('div');
|
var span=document.createElement('div');
|
||||||
span.style.display='inline-block';
|
span.style.display='inline-block';
|
||||||
span.style.width='auto';
|
span.style.width='auto';
|
||||||
|
@ -22732,8 +22732,8 @@
|
||||||
else{
|
else{
|
||||||
span.style.fontSize='22px';
|
span.style.fontSize='22px';
|
||||||
}
|
}
|
||||||
span.innerHTML=lib.translate[lib.config.characters[i]+'_character_config'];
|
span.innerHTML=lib.translate[lib.config.all.characters[i]+'_character_config'];
|
||||||
span.link=lib.config.characters[i];
|
span.link=lib.config.all.characters[i];
|
||||||
span.addEventListener(lib.config.touchscreen?'touchend':'click',clickCapt);
|
span.addEventListener(lib.config.touchscreen?'touchend':'click',clickCapt);
|
||||||
newlined2.appendChild(span);
|
newlined2.appendChild(span);
|
||||||
}
|
}
|
||||||
|
@ -26205,14 +26205,14 @@
|
||||||
widths.push(ui.control.childNodes[i].offsetWidth);
|
widths.push(ui.control.childNodes[i].offsetWidth);
|
||||||
}
|
}
|
||||||
controls.push(ui.control.childNodes[i]);
|
controls.push(ui.control.childNodes[i]);
|
||||||
if(i>0){
|
// if(i>0){
|
||||||
if(lib.config.layout=='phone'){
|
// if(lib.config.layout=='phone'){
|
||||||
width+=12;
|
// width+=12;
|
||||||
}
|
// }
|
||||||
else{
|
// else{
|
||||||
width+=6;
|
// width+=6;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
if(!controls.length) return;
|
if(!controls.length) return;
|
||||||
var offset=-length/2;
|
var offset=-length/2;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
window.noname_update={
|
window.noname_update={
|
||||||
version:'1.8.16',
|
version:'1.8.15.1',
|
||||||
changeLog:[
|
changeLog:[
|
||||||
'修bug',
|
'',
|
||||||
],
|
],
|
||||||
files:{
|
files:{
|
||||||
global:[
|
global:[
|
||||||
|
@ -19,6 +19,7 @@ window.noname_update={
|
||||||
'card/standard.js',
|
'card/standard.js',
|
||||||
'layout/default/layout.css',
|
'layout/default/layout.css',
|
||||||
],
|
],
|
||||||
'1.8.15':[]
|
'1.8.15':[],
|
||||||
|
'1.8.15.1':[]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue