mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Tray: change chevron to caret
This commit is contained in:
@@ -71,6 +71,8 @@ Singleton {
|
||||
"chevron-down": "chevron-down",
|
||||
"caret-up": "caret-up-filled",
|
||||
"caret-down": "caret-down-filled",
|
||||
"caret-left": "caret-left-filled",
|
||||
"caret-right": "caret-right-filled",
|
||||
"star": "star",
|
||||
"star-off": "star-off",
|
||||
"battery-exclamation": "battery-exclamation",
|
||||
|
||||
@@ -317,15 +317,15 @@ Rectangle {
|
||||
anchors.centerIn: parent
|
||||
icon: {
|
||||
if (barPosition === "top")
|
||||
return "chevron-down"
|
||||
return "caret-down"
|
||||
else if (barPosition === "bottom")
|
||||
return "chevron-up"
|
||||
return "caret-up"
|
||||
else if (barPosition === "left")
|
||||
return "chevron-right"
|
||||
return "caret-right"
|
||||
else if (barPosition === "right")
|
||||
return "chevron-left"
|
||||
return "caret-left"
|
||||
else
|
||||
return "chevron-down" // default fallback
|
||||
return "caret-down" // default fallback
|
||||
}
|
||||
pointSize: Math.round(itemSize * 0.65)
|
||||
color: dropdownButton.hovered ? Color.mPrimary : Color.mOnSurface
|
||||
|
||||
Reference in New Issue
Block a user