quickshell: fix 1px ear alignment on all concave corners
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a007ed45d7
commit
c47787e516
1 changed files with 5 additions and 0 deletions
|
|
@ -1283,6 +1283,7 @@ in
|
|||
// Left ear
|
||||
Item {
|
||||
anchors.right: _dropdownRect.left
|
||||
anchors.rightMargin: -1
|
||||
anchors.top: parent.top
|
||||
width: 8
|
||||
height: Math.min(8, _dropdownRect.height)
|
||||
|
|
@ -1312,6 +1313,7 @@ in
|
|||
// Right ear (for centered dropdowns)
|
||||
Item {
|
||||
anchors.left: _dropdownRect.right
|
||||
anchors.leftMargin: -1
|
||||
anchors.top: parent.top
|
||||
width: 8
|
||||
height: Math.min(8, _dropdownRect.height)
|
||||
|
|
@ -1402,6 +1404,7 @@ in
|
|||
visible: dropdown.alignRight && _dropdownRect.height >= 8
|
||||
anchors.right: _dropdownRect.right
|
||||
anchors.top: _dropdownRect.bottom
|
||||
anchors.topMargin: -1
|
||||
width: 8
|
||||
height: Math.min(8, _dropdownRect.height)
|
||||
clip: true
|
||||
|
|
@ -2267,6 +2270,7 @@ in
|
|||
Item {
|
||||
id: _toastLeftEar
|
||||
anchors.right: _toastRect.left
|
||||
anchors.rightMargin: -1
|
||||
anchors.top: parent.top
|
||||
width: 8
|
||||
height: Math.min(8, _toastRect.height)
|
||||
|
|
@ -2296,6 +2300,7 @@ in
|
|||
Item {
|
||||
id: _toastRightEar
|
||||
anchors.left: _toastRect.right
|
||||
anchors.leftMargin: -1
|
||||
anchors.top: parent.top
|
||||
width: 8
|
||||
height: Math.min(8, _toastRect.height)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue