Skip to content

Commit

Permalink
💫 Increased tab expansion time by 25%.
Browse files Browse the repository at this point in the history
  • Loading branch information
RXJpaw committed Dec 7, 2023
1 parent 1e4650d commit 01a4b6f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/java/pw/rxj/iron_quarry/screen/QuarryBlockScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ public class QuarryBlockScreen extends HandledScreen<QuarryBlockScreenHandler> {

private final TrackableZone EnergyDisplay = TrackableZone.empty();
private final TrackableZone AugmentsConfig = TrackableZone.empty()
.onTickDelta(2, (zone, ticks) -> {
zone.width = (int) Math.min(22 + ticks * 39, 100);
zone.height = (int) Math.min(22 + ticks * 35, 92);
.onTickDelta(2.5F, (zone, ticks) -> {
zone.width = (int) Math.min(22 + ticks * 31.2F, 100);
zone.height = (int) Math.min(22 + ticks * 28.0F, 92);
});
private final TrackableZone IoConfig = TrackableZone.empty()
.onTickDelta(2, (zone, ticks) -> {
zone.width = (int) Math.min(22 + ticks * 39, 100);
zone.height = (int) Math.min(22 + ticks * 35, 92);
.onTickDelta(2.5F, (zone, ticks) -> {
zone.width = (int) Math.min(22 + ticks * 31.2F, 100);
zone.height = (int) Math.min(22 + ticks * 28.0F, 92);
});

private final int expandableMenuWidth;
Expand Down

0 comments on commit 01a4b6f

Please sign in to comment.