mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2025-12-06 06:36:15 +00:00
BarPill: fix Text hover color to ensure readability.
This commit is contained in:
@@ -129,7 +129,7 @@ Item {
|
||||
pointSize: textSize
|
||||
applyUiScale: false
|
||||
font.weight: Style.fontWeightBold
|
||||
color: forceOpen ? Color.mOnSurface : Color.mPrimary
|
||||
color: forceOpen ? Color.mOnSurface : (hovered ? Color.mOnHover : Color.mPrimary)
|
||||
visible: revealed
|
||||
}
|
||||
|
||||
|
||||
@@ -137,7 +137,7 @@ Item {
|
||||
font.weight: Style.fontWeightMedium
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
color: forceOpen ? Color.mOnSurface : Color.mPrimary
|
||||
color: forceOpen ? Color.mOnSurface : (hovered ? Color.mOnHover : Color.mPrimary)
|
||||
visible: revealed
|
||||
|
||||
function getVerticalCenterOffset() {
|
||||
|
||||
Reference in New Issue
Block a user