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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user