1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-25 14:02:53 -05:00

feat(bar): enlarge bar icons if widget background is off (#1425)

* use iconSizeLarge if noBackground is on

* widgets: pass noBackground to barIconSize in param
This commit is contained in:
Eggrror404
2026-01-21 23:44:08 +08:00
committed by GitHub
parent fd2c6a0784
commit eebb4827c4
26 changed files with 74 additions and 72 deletions

View File

@@ -59,8 +59,8 @@ Item {
readonly property bool hasVerticalPill: verticalBarPill !== null
readonly property bool hasPopout: popoutContent !== null
readonly property int iconSize: Theme.barIconSize(barThickness, -4)
readonly property int iconSizeLarge: Theme.barIconSize(barThickness)
readonly property int iconSize: Theme.barIconSize(barThickness, -4, root.barConfig?.noBackground)
readonly property int iconSizeLarge: Theme.barIconSize(barThickness, undefined, root.barConfig?.noBackground)
Component.onCompleted: {
loadPluginData();