Subtract current frame height from truncated y

This commit is contained in:
Nestorboy 2024-11-03 23:26:17 +01:00
parent a5b1485e07
commit 10895e4469

View File

@ -1095,6 +1095,7 @@ class Preview {
}
if (texture.currentFrame) {
y -= texture.display_height * texture.currentFrame;
truncated_y -= texture.display_height * texture.currentFrame;
}
// Position