Skip to content

Commit

Permalink
4.2.1 [ci-build]
Browse files Browse the repository at this point in the history
  • Loading branch information
JannisX11 committed Mar 30, 2022
1 parent d3cd512 commit d084cf4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
Expand Down
2 changes: 1 addition & 1 deletion js/texturing/textures.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
3 changes: 2 additions & 1 deletion manifest.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@
"background_color": "#21252b",
"theme_color": "#3e90ff",
"display": "standalone",
"display_override": ["tabbed", "minimal-ui"]
"display_override": ["tabbed", "minimal-ui"],
"orientation": "any"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Loading

0 comments on commit d084cf4

Please sign in to comment.