AboutTab: Fix hover on contributos
This commit is contained in:
parent
b51a87a981
commit
7def695c0e
1 changed files with 2 additions and 2 deletions
|
|
@ -189,7 +189,7 @@ ColumnLayout {
|
||||||
NText {
|
NText {
|
||||||
text: modelData.login || "Unknown"
|
text: modelData.login || "Unknown"
|
||||||
font.weight: Style.fontWeightBold
|
font.weight: Style.fontWeightBold
|
||||||
color: contributorArea.containsMouse ? Color.mSurface : Color.mOnSurface
|
color: contributorArea.containsMouse ? Color.mOnTertiary : Color.mOnSurface
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|
@ -197,7 +197,7 @@ ColumnLayout {
|
||||||
NText {
|
NText {
|
||||||
text: (modelData.contributions || 0) + " " + ((modelData.contributions || 0) === 1 ? "commit" : "commits")
|
text: (modelData.contributions || 0) + " " + ((modelData.contributions || 0) === 1 ? "commit" : "commits")
|
||||||
font.pointSize: Style.fontSizeXS * scaling
|
font.pointSize: Style.fontSizeXS * scaling
|
||||||
color: contributorArea.containsMouse ? Color.mSurface : Color.mOnSurface
|
color: contributorArea.containsMouse ? Color.mOnTertiary : Color.mOnSurface
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue