diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-08-17 17:26:31 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-08-17 17:26:31 +0800 |
| commit | 0958de019acaf28cf3324a4e2dc4715ad612353e (patch) | |
| tree | d4dc558bab0f10a99635592032439e36943c224d /src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java | |
| parent | 5c91a6654e697fdadde79508f3ef994936e4b952 (diff) | |
| download | RoughlyEnoughItems-0958de019acaf28cf3324a4e2dc4715ad612353e.tar.gz RoughlyEnoughItems-0958de019acaf28cf3324a4e2dc4715ad612353e.tar.bz2 RoughlyEnoughItems-0958de019acaf28cf3324a4e2dc4715ad612353e.zip | |
Fix bugs + translation
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java b/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java index 3485e56d8..2a26605aa 100644 --- a/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java +++ b/src/main/java/me/shedaniel/rei/gui/VillagerRecipeViewingScreen.java @@ -269,6 +269,7 @@ public class VillagerRecipeViewingScreen extends Screen { scroll = MathHelper.clamp(scroll, 0, height - scrollListBounds.height + 2); if (scrollBarAlphaFuture == 0) scrollBarAlphaFuture = 1f; + if (System.currentTimeMillis() - scrollBarAlphaFutureTime > 300f) scrollBarAlphaFutureTime = System.currentTimeMillis(); return true; } |
