Revert "quickshell: fix 1px ear alignment on all concave corners"

This reverts commit c47787e516.
This commit is contained in:
rope 2026-05-27 17:28:26 +01:00
parent c47787e516
commit fee661b9eb

View file

@ -1283,7 +1283,6 @@ in
// Left ear // Left ear
Item { Item {
anchors.right: _dropdownRect.left anchors.right: _dropdownRect.left
anchors.rightMargin: -1
anchors.top: parent.top anchors.top: parent.top
width: 8 width: 8
height: Math.min(8, _dropdownRect.height) height: Math.min(8, _dropdownRect.height)
@ -1313,7 +1312,6 @@ in
// Right ear (for centered dropdowns) // Right ear (for centered dropdowns)
Item { Item {
anchors.left: _dropdownRect.right anchors.left: _dropdownRect.right
anchors.leftMargin: -1
anchors.top: parent.top anchors.top: parent.top
width: 8 width: 8
height: Math.min(8, _dropdownRect.height) height: Math.min(8, _dropdownRect.height)
@ -1404,7 +1402,6 @@ in
visible: dropdown.alignRight && _dropdownRect.height >= 8 visible: dropdown.alignRight && _dropdownRect.height >= 8
anchors.right: _dropdownRect.right anchors.right: _dropdownRect.right
anchors.top: _dropdownRect.bottom anchors.top: _dropdownRect.bottom
anchors.topMargin: -1
width: 8 width: 8
height: Math.min(8, _dropdownRect.height) height: Math.min(8, _dropdownRect.height)
clip: true clip: true
@ -2270,7 +2267,6 @@ in
Item { Item {
id: _toastLeftEar id: _toastLeftEar
anchors.right: _toastRect.left anchors.right: _toastRect.left
anchors.rightMargin: -1
anchors.top: parent.top anchors.top: parent.top
width: 8 width: 8
height: Math.min(8, _toastRect.height) height: Math.min(8, _toastRect.height)
@ -2300,7 +2296,6 @@ in
Item { Item {
id: _toastRightEar id: _toastRightEar
anchors.left: _toastRect.right anchors.left: _toastRect.right
anchors.leftMargin: -1
anchors.top: parent.top anchors.top: parent.top
width: 8 width: 8
height: Math.min(8, _toastRect.height) height: Math.min(8, _toastRect.height)