mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 11:19:19 +00:00
Added M4/M5 (the buttons of the side of the mouse) support to the Lexica Botania.
This commit is contained in:
1 parent
c55c07eff3
commit
950851697e
2 files changed
+20
-2
No files matched your search
@@ -255,8 +255,17 @@ public class GuiLexiconEntry extends GuiLexicon implements IGuiLexiconEntry, IPa
|
||||
super.mouseClicked(par1, par2, par3);
|
||||
|
||||
fx = par1;
|
||||
if(par3 == 1)
|
||||
switch(par3) {
|
||||
case 1:
|
||||
back();
|
||||
break;
|
||||
case 3:
|
||||
nextPage();
|
||||
break;
|
||||
case 4:
|
||||
prevPage();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -243,8 +243,17 @@ public class GuiLexiconIndex extends GuiLexicon implements IParented {
|
||||
|
||||
searchField.mouseClicked(par1, par2, par3);
|
||||
fx = par1;
|
||||
if(par3 == 1)
|
||||
switch(par3) {
|
||||
case 1:
|
||||
back();
|
||||
break;
|
||||
case 3:
|
||||
nextPage();
|
||||
break;
|
||||
case 4:
|
||||
prevPage();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user