mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-19 21:10:11 -07:00
- Removed older handleGuiBar function
This commit is contained in:
parent
5a5dc351f0
commit
641e502bb3
1 changed files with 0 additions and 15 deletions
|
|
@ -1193,20 +1193,5 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
}
|
||||
return hotbarKeys[((x - barX) / mcscale(180 / 9)) % 9];
|
||||
}
|
||||
/*
|
||||
public int handleGuiBar(int x, int y, MotionEvent e) {
|
||||
if (!CallbackBridge.isGrabbing()) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
// int screenHeight = CallbackBridge.windowHeight;
|
||||
int barheight = mcscale(20);
|
||||
int barwidth = mcscale(180);
|
||||
int barx = (CallbackBridge.windowWidth / 2) - (barwidth / 2);
|
||||
if (x < barx || x >= barx + barwidth || y < 0 || y >= 0 + barheight) {
|
||||
return -1;
|
||||
}
|
||||
return hotbarKeys[((x - barx) / mcscale(20)) % 9];
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue