Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 57a2afc

Browse files
Apply suggestions from TheKodeToad
Co-authored-by: TheKodeToad <[email protected]>
1 parent 8d01c50 commit 57a2afc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

1.8.9/src/main/java/io/github/axolotlclient/modules/scrollableTooltips/ScrollableTooltips.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ public void resetScroll() {
109109

110110
public void alignToScreenBottom(List<String> tooltip, int y){
111111
if(alignToBottom.get() && !alignedToBottom) {
112-
int height = tooltip.size() * 10;
112+
int height = tooltip.size() * 10 - 4;
113113

114-
if(height + y - 4 > Util.getWindow().getHeight()){
114+
if(height + y > Util.getWindow().getHeight()){
115115
tooltipOffsetY = Util.getWindow().getHeight() - y - height;
116116
}
117117

1.8.9/src/main/resources/assets/axolotlclient/lang/en_us.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
"scrollbarColor": "Scrollbar Color",
1515
"unfocusedFPS": "Unfocused FPS",
1616
"unfocusedVolumeMultiplier": "Unfocused Volume Multiplier",
17-
"alignToBottom": "Align to Bottom Screen edge"
17+
"alignToBottom": "Align to Bottom Screen Edge"
1818
}

0 commit comments

Comments
 (0)