Gamepad pointer size is now dynamic !

This commit is contained in:
SerpentSpirale 2021-07-20 14:53:26 +02:00
parent 97a8a11f80
commit ee0b715061
4 changed files with 6 additions and 2 deletions

View file

@ -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) {