mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-02-23 16:31:20 +08:00
Subtract current frame height from truncated y
This commit is contained in:
parent
a5b1485e07
commit
10895e4469
@ -1095,6 +1095,7 @@ class Preview {
|
|||||||
}
|
}
|
||||||
if (texture.currentFrame) {
|
if (texture.currentFrame) {
|
||||||
y -= texture.display_height * texture.currentFrame;
|
y -= texture.display_height * texture.currentFrame;
|
||||||
|
truncated_y -= texture.display_height * texture.currentFrame;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Position
|
// Position
|
||||||
|
Loading…
Reference in New Issue
Block a user