mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Fix mod menu URL click bounds (#7804)
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user