Revert "Let single-module islands drop their pill or notch tab"
This reverts commit 4f078bdf5c.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
68281b0874
commit
f756d37f6d
4 files changed
+5
-17
No files matched your search
@@ -114,12 +114,9 @@ PanelWindow {
|
||||
id: island
|
||||
property alias row: islandRow
|
||||
property string side
|
||||
// An island showing a single module can drop its pill or hanging tab
|
||||
// and float like the "float" style.
|
||||
readonly property bool bare: root.islandStyle === "float" || (ConfigService.ready && !ConfigService.data.notch.backSingle && Array.prototype.filter.call(islandRow.visibleChildren, c => c.width > 0).length === 1)
|
||||
readonly property bool hanging: root.islandStyle === "notch" && !bare
|
||||
color: root.islandStyle === "pill" && !bare ? Theme.notchFill : Theme.transparent
|
||||
border.width: root.islandStyle === "pill" && !bare ? 1 : 0
|
||||
readonly property bool hanging: root.islandStyle === "notch"
|
||||
color: root.islandStyle === "pill" ? Theme.notchFill : Theme.transparent
|
||||
border.width: root.islandStyle === "pill" ? 1 : 0
|
||||
plain: true
|
||||
visible: root.notch && ConfigService.ready && ConfigService.data.notch[side].length > 0
|
||||
// Hanging islands keep their ears on screen.
|
||||
@@ -128,7 +125,7 @@ PanelWindow {
|
||||
return side === "left" ? inset : root.width - inset - width;
|
||||
}
|
||||
y: root.islandY
|
||||
width: islandRow.implicitWidth + (bare ? 12 : 24)
|
||||
width: islandRow.implicitWidth + (root.islandStyle === "float" ? 12 : 24)
|
||||
height: BarDrawers.height
|
||||
radius: root.islandStyle === "pill" ? height / 2 : BarDrawers.radius
|
||||
DrawerShape {
|
||||
|
||||
Reference in new issue
Block a user