mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 15:17:02 -04:00
Fix: Revert wrongful removal of callback bridge vars
This commit is contained in:
parent
89929b5e21
commit
0a385781ed
@ -524,6 +524,9 @@ public final class Tools {
|
||||
|
||||
public static void updateWindowSize(Activity activity) {
|
||||
currentDisplayMetrics = getDisplayMetrics(activity);
|
||||
|
||||
CallbackBridge.physicalWidth = currentDisplayMetrics.widthPixels;
|
||||
CallbackBridge.physicalHeight = currentDisplayMetrics.heightPixels;
|
||||
}
|
||||
|
||||
public static float dpToPx(float dp) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user