mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-19 13:00:12 -07:00
Gamepad pointer size is now dynamic !
This commit is contained in:
parent
97a8a11f80
commit
ee0b715061
4 changed files with 6 additions and 2 deletions
|
|
@ -922,7 +922,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
return true;
|
||||
}
|
||||
|
||||
public void getMcScale() {
|
||||
public int getMcScale() {
|
||||
//Get the scale stored in game files, used auto scale if found or if the stored scaled is bigger than the authorized size.
|
||||
MCOptionUtils.load();
|
||||
String str = MCOptionUtils.get("guiScale");
|
||||
|
|
@ -935,6 +935,7 @@ public class BaseMainActivity extends LoggableActivity {
|
|||
}
|
||||
|
||||
if(gamepad != null) gamepad.notifyGUISizeChange(this.guiScale);
|
||||
return this.guiScale;
|
||||
}
|
||||
|
||||
public int handleGuiBar(int x, int y) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue