mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-20 09:37:07 -04:00
currentDisplayMetrics are more frequently updated
This commit is contained in:
committed by
Boulay Mathias
parent
246537d01a
commit
8993fb9506
@@ -357,6 +357,8 @@ public final class Tools {
|
||||
displayMetrics.widthPixels -= PREF_NOTCH_SIZE;
|
||||
}
|
||||
}
|
||||
currentDisplayMetrics = displayMetrics;
|
||||
|
||||
return displayMetrics;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user