mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-19 09:07:06 -04:00
Fix: Revert wrongful removal of callback bridge vars
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user