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

View File

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

View File

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

View File

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

File diff suppressed because one or more lines are too long