4.2.1 [ci-build]

This commit is contained in:
JannisX11 2022-03-30 19:11:34 +02:00
parent d3cd51219c
commit d084cf4998
5 changed files with 6 additions and 5 deletions

View File

@ -25,7 +25,7 @@
<script>
if (typeof module === 'object') {window.module = module; module = undefined;}//jQuery Fix
const isApp = typeof require !== 'undefined';
const appVersion = '4.2.0';
const appVersion = '4.2.1';
if (localStorage.getItem('theme')) {

View File

@ -230,7 +230,7 @@ class Texture {
}
get frameCount() {
if (Format.animated_textures && this.ratio !== 1 && this.ratio !== (Project.texture_width / Project.texture_height) && 1/this.ratio % 1 === 0) {
return 1/this.ratio
return (Project.texture_width / Project.texture_height) / this.ratio
}
}
get display_height() {

View File

@ -24,5 +24,6 @@
"background_color": "#21252b",
"theme_color": "#3e90ff",
"display": "standalone",
"display_override": ["tabbed", "minimal-ui"]
"display_override": ["tabbed", "minimal-ui"],
"orientation": "any"
}

View File

@ -1,7 +1,7 @@
{
"name": "Blockbench",
"description": "Low-poly modeling and animation software",
"version": "4.2.0",
"version": "4.2.1",
"license": "GPL-3.0-or-later",
"author": {
"name": "JannisX11",

File diff suppressed because one or more lines are too long