1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-04 04:28:30 -04:00

frame: consolidate and simplify inset logic

This commit is contained in:
bbedward
2026-07-27 13:10:36 -04:00
parent 8594a414ec
commit 73da4879f6
8 changed files with 38 additions and 23 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ Item {
LayoutMirroring.childrenInherit: true
// Bar Inset Padding: resolve the "auto" sentinel (stored < 0) to the frame thickness for the slider display.
readonly property int frameInsetPaddingDisplay: SettingsData.frameBarInsetPadding < 0 ? Math.round(SettingsData.frameThickness) : SettingsData.frameBarInsetPadding
readonly property int frameInsetPaddingDisplay: Math.round(SettingsData.frameBarContentGap)
DankFlickable {
anchors.fill: parent