mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 06:41:31 +01:00
Update ClickGUI.java
This commit is contained in:
parent
6ec3475ed2
commit
2f1ae8155b
@ -124,7 +124,7 @@ public class ClickGUI extends SilentScreen {
|
||||
if(selectedCategory != ModCategory.PLUS && selectedCategory != ModCategory.CONFIGS) {
|
||||
for(Mod m : getMods()) {
|
||||
|
||||
if(mouseInContent(x, (int) (modOffsetY - scrollAnimation.getValue()), y, height - 25) || mouseInContent(x, (int) (modOffsetY - scrollAnimation.getValue() + 70), y, height - 25)) {
|
||||
if(mouseInContent(x, (int) (y + modOffsetY - scrollAnimation.getValue()), y + 25, height - 25) || mouseInContent(x, (int) (y + modOffsetY - scrollAnimation.getValue() + 70), y + 25, height - 25)) {
|
||||
float switchX = modOffsetX + ((65 / 2) - (15 / 2));
|
||||
float switchY = y + modOffsetY - scrollAnimation.getValue() + 55;
|
||||
boolean switchHovered = selectedCategory.equals(ModCategory.MODS) && Switch.isHovered(mouseX, mouseY, switchX, switchY) && !headerHovered;
|
||||
|
Loading…
Reference in New Issue
Block a user