Skip to content

Commit

Permalink
merge: fixing #47
Browse files Browse the repository at this point in the history
Fixed #47, by replacing windowWidth for windowHeight
  • Loading branch information
legoraft authored Jun 25, 2024
2 parents 5fee70d + 73ea3c8 commit b9a3e47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ yarn_mappings=1.21+build.2
loader_version=0.15.11

# Mod Properties
mod_version=1.4.4
mod_version=1.4.5
maven_group=com.armorhud
archives_base_name=simple-armor-hud

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public abstract class tooltipMixin {

@ModifyVariable(method = "renderHeldItemTooltip", at = @At("STORE"), ordinal = 2)
public int renderHeldItemTooltip(int k, DrawContext context) {
return context.getScaledWindowWidth() - 62;
return context.getScaledWindowHeight() - 62;
}

}

0 comments on commit b9a3e47

Please sign in to comment.