Fix #896 Optifine JEM export console error

Improve readability of Blockbench version in console
Fix list rendering in markdown in dialogs
This commit is contained in:
JannisX11 2021-06-27 14:52:49 +02:00
parent 224399b8a3
commit 7991ad043f
3 changed files with 7 additions and 2 deletions

View File

@ -120,6 +120,11 @@
position: relative;
margin: 0;
}
.dialog_bar.small_text li {
list-style: auto;
margin-left: 20px;
padding-left: 4px;
}
.dialog_vector_group {
display: flex;
}

View File

@ -45,7 +45,7 @@ console.log(`Three.js r${THREE.REVISION}`)
console.log('%cBlockbench ' + appVersion + (isApp
? (' Desktop (' + Blockbench.operating_system +')')
: (' Web ('+capitalizeFirstLetter(Blockbench.browser) + (Blockbench.isPWA ? ', PWA)' : ')'))),
'background-color: #3e90ff; color: black; padding: 4px;'
'border: 2px solid #3e90ff; padding: 4px 8px; font-size: 1.2em;'
)
var startups = parseInt(localStorage.getItem('startups')||0);
localStorage.setItem('startups', startups+1);

View File

@ -41,7 +41,7 @@ var codec = new Codec('optifine_entity', {
var bone_codes = codes[bone.part] || codes[bone.part+'1']
if (bone_codes) {
if (!bone.rotate) bone.rotate = [0, 0, 0];
entityMode.hardcodes[geo_code][bone.part].rotation.forEach((dft, i) => {
bone_codes.rotation.forEach((dft, i) => {
bone.rotate[i] += dft;
})
}