Fix mod menu URL click bounds (#7804)

This commit is contained in:
Sekwah authored and GitHub committed 2021-07-16 17:51:11 -07:00
1 parent 7f2892de7e
commit e6c1814122
1 file changed
+1 -1
@@ -235,7 +235,7 @@ public class ModListScreen extends Screen
IReorderingProcessor line = lines.get(lineIdx-1);
if (line != null)
{
return font.getSplitter().componentStyleAtWidth(line, mouseX);
return font.getSplitter().componentStyleAtWidth(line, mouseX - left - border);
}
return null;
}