diff options
| author | Linnea Gräf <nea@nea.moe> | 2025-07-27 15:24:58 +0200 |
|---|---|---|
| committer | Linnea Gräf <nea@nea.moe> | 2025-07-27 15:24:58 +0200 |
| commit | 120cab808b9a6f8c8c935360b470a7a214f0b7bc (patch) | |
| tree | d7230a3c6ad1b55bddb80e6ccf0fbf95a3f3b9b3 /src/main/kotlin/util/render/DrawContextExt.kt | |
| parent | 677172dce144d5e5fae3a6145553952ad1d729b8 (diff) | |
| download | Firmament-120cab808b9a6f8c8c935360b470a7a214f0b7bc.tar.gz Firmament-120cab808b9a6f8c8c935360b470a7a214f0b7bc.tar.bz2 Firmament-120cab808b9a6f8c8c935360b470a7a214f0b7bc.zip | |
fix: incorrect identity matrix check in storage overlay
Diffstat (limited to 'src/main/kotlin/util/render/DrawContextExt.kt')
| -rw-r--r-- | src/main/kotlin/util/render/DrawContextExt.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/util/render/DrawContextExt.kt b/src/main/kotlin/util/render/DrawContextExt.kt index d11ba6a..898281f 100644 --- a/src/main/kotlin/util/render/DrawContextExt.kt +++ b/src/main/kotlin/util/render/DrawContextExt.kt @@ -11,7 +11,7 @@ import net.minecraft.util.Identifier import moe.nea.firmament.util.MC fun DrawContext.isUntranslatedGuiDrawContext(): Boolean { - return matrices.m00 == 1F && matrices.m11 == 1f && matrices.m01 == 0F && matrices.m10 == 0F && matrices.m20 == 1f && matrices.m21 == 1F + return matrices.m00 == 1F && matrices.m11 == 1f && matrices.m01 == 0F && matrices.m10 == 0F && matrices.m20 == 0f && matrices.m21 == 0F } @Deprecated("Use the other drawGuiTexture") |
