Remove borders from menu highlights

This commit is contained in:
David Heinemeier Hansson
2026-05-26 00:11:03 +02:00
parent af5e918dd5
commit 953616dd62
4 changed files with 4 additions and 12 deletions
+1 -3
View File
@@ -40,7 +40,6 @@ Item {
property color scrim: Color.launcher.scrim
property color selectedBackground: Color.launcher.selectedBackground
property color selectedText: Color.launcher.selectedText
property color selectedBorder: Color.launcher.selectedBorder
property string fontFamily: Style.font.menuFamily
property int cardWidth: 644
@@ -562,8 +561,7 @@ Item {
height: root.rowHeight
radius: 0
color: row.hasCursor ? root.selectedBackground : "transparent"
border.color: row.hasCursor ? root.selectedBorder : "transparent"
border.width: (row.hasCursor && root.selectedBorder.a > 0) ? Math.max(1, Style.normalBorderWidth) : 0
border.width: 0
Item {
id: iconSlot