rename exclusionZoneOffset to enableExclusionZoneInset

This commit is contained in:
SpeakingPNG
2026-03-04 17:28:54 +01:00
parent 56d91dd9a5
commit 7fd9b5d7de
6 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ PanelWindow {
readonly property real barMarginH: (barFloating && edge === Settings.getBarPositionForScreen(screen?.name)) ? Math.ceil(Settings.data.bar.marginHorizontal) : 0
readonly property real barMarginV: (barFloating && edge === Settings.getBarPositionForScreen(screen?.name)) ? Math.ceil(Settings.data.bar.marginVertical) : 0
// Allow users to enable a 1-physical-pixel inset for the exclusion zone so window borders can bleed under the bar
readonly property real bleedOffset: Settings.data.bar.exclusionZoneOffset ? 1.0 : 0.0
readonly property real bleedOffset: Settings.data.bar.enableExclusionZoneInset ? 1.0 : 0.0
readonly property real bleedInset: bleedOffset / (CompositorService.getDisplayScale(screen?.name) || 1.0)
// Invisible - just reserves space