mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 13:30:15 -07:00
Fix offset on-screen controls on desktop mode.
This commit is contained in:
parent
b32123ba58
commit
6ba6ea2db7
2 changed files with 8 additions and 4 deletions
|
|
@ -317,6 +317,7 @@ public class PojavLauncherActivity extends BaseLauncherActivity
|
|||
PREF_NOTCH_SIZE = getWindow().getDecorView().getRootWindowInsets().getDisplayCutout().getBoundingRects().get(0).width();
|
||||
}catch (Exception e){
|
||||
Log.i("NOTCH DETECTION", "No notch detected, or the device if in split screen mode");
|
||||
PREF_NOTCH_SIZE = -1;
|
||||
}
|
||||
Tools.updateWindowSize(this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue