mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-30 06:57:49 -04:00
bars: update island & dbar defaults
This commit is contained in:
1 parent
12feb8068b
commit
39b41fb880
17 files changed
+82
-60
No files matched your search
@@ -44,7 +44,7 @@ DModal {
|
||||
customPosition: {
|
||||
if (parentBounds.width > 0) {
|
||||
const bar = SettingsData.getPrimaryBarConfig();
|
||||
const effectiveBarThickness = Theme.barThickness(bar?.innerPadding ?? 4, CompositorService.getScreenScale(parentScreen));
|
||||
const effectiveBarThickness = Theme.barThickness(bar?.innerPadding ?? 2, CompositorService.getScreenScale(parentScreen));
|
||||
const barExclusionZone = effectiveBarThickness + (bar?.spacing ?? 4) + (bar?.bottomGap ?? 0);
|
||||
const barPosition = bar?.position ?? SettingsData.Position.Top;
|
||||
const screenW = parentScreen?.width ?? 1920;
|
||||
|
||||
Reference in new issue
Block a user