1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-08 06:25:37 -05:00

feat: Add a 1px border to Dankbar w/edge detection

-  No edge gap (spacing = 0 AND corner radius = 0): Draws 1px border only on the exposed edge (bottom for top bar, top for bottom bar, right for left bar, left for right bar)
- Has edge gap (spacing > 0 OR corner radius > 0): Draws 1px border around all sides
This commit is contained in:
purian23
2025-10-05 23:56:40 -04:00
parent c3dd70bc99
commit db440b8a14
3 changed files with 135 additions and 0 deletions

View File

@@ -1003,6 +1003,16 @@ Item {
checked)
}
}
DankToggle {
width: parent.width
text: "Border"
description: "Add a 1px border to the bar. Smart edge detection only shows border on exposed sides."
checked: SettingsData.dankBarBorderEnabled
onToggled: checked => {
SettingsData.setDankBarBorderEnabled(checked)
}
}
}
}