Adapt interface to display notch of mac laptops (#8666)

* Adapt interface to display notch of mac laptops

* `macNotchHeight` as a separate variable, and description for mac notch setting
This commit is contained in:
Alex Gusev
2023-06-04 22:43:07 +06:00
committed by GitHub
parent 97a603204b
commit 32c146cdf1
39 changed files with 365 additions and 281 deletions

View File

@@ -293,6 +293,11 @@ public class HudFragment{
//core info
parent.fill(t -> {
t.top();
if(Core.settings.getBool("macnotch") ){
t.margin(macNotchHeight);
}
t.visible(() -> shown);
t.name = "coreinfo";