diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-04-17 18:22:10 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-04-17 18:22:10 +0200 |
commit | c1e10ec146db4ae372d284bd20b7f66eb42b60d4 (patch) | |
tree | 11508a18798168448830af581de0ebd8e41d61a4 | |
parent | 734fdf613cc660430447adbd3191b5bc7c1817de (diff) | |
download | skyhanni-c1e10ec146db4ae372d284bd20b7f66eb42b60d4.tar.gz skyhanni-c1e10ec146db4ae372d284bd20b7f66eb42b60d4.tar.bz2 skyhanni-c1e10ec146db4ae372d284bd20b7f66eb42b60d4.zip |
add todo
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/mining/ColdOverlay.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/ColdOverlay.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/ColdOverlay.kt index 196f2f6fb..f29337b12 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/mining/ColdOverlay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/mining/ColdOverlay.kt @@ -47,6 +47,7 @@ class ColdOverlay { GlStateManager.popAttrib() } + // TODO fix small bug with high cold and low threshold having the same opacity than high cold and a b it smaller threshold private fun getColdAlpha(): Float { val coldInterp = NumberUtil.interpolate(cold.toFloat(), lastCold.toFloat(), lastColdUpdate.toMillis()) val coldPercentage = (coldInterp - config.coldThreshold) / (100 - config.coldThreshold) |