Add borderWidth presence theme property

This commit is contained in:
miruka 2020-07-10 13:38:18 -04:00
parent 7f476f8f61
commit a7702a5260
3 changed files with 3 additions and 1 deletions

View File

@ -84,7 +84,7 @@ HAvatar {
theme.controls.presence.offline theme.controls.presence.offline
border.color: theme.controls.presence.border border.color: theme.controls.presence.border
border.width: Math.ceil(diameter / 10) border.width: theme.controls.presence.borderWidth
Behavior on color { HColorAnimation {} } Behavior on color { HColorAnimation {} }
Behavior on opacity { HNumberAnimation {} } Behavior on opacity { HNumberAnimation {} }

View File

@ -272,6 +272,7 @@ controls:
color unavailable: colors.middleBackground color unavailable: colors.middleBackground
color offline: hsluv(0, 0, 60, 1) color offline: hsluv(0, 0, 60, 1)
color border: "black" color border: "black"
int borderWidth: 2 * uiScale
real opacity: 1.0 real opacity: 1.0
real radius: 6.0 * uiScale real radius: 6.0 * uiScale

View File

@ -278,6 +278,7 @@ controls:
color unavailable: colors.middleBackground color unavailable: colors.middleBackground
color offline: hsluv(0, 0, 60, 1) color offline: hsluv(0, 0, 60, 1)
color border: "black" color border: "black"
int borderWidth: 2 * uiScale
real opacity: 1.0 real opacity: 1.0
real radius: 6.0 * uiScale real radius: 6.0 * uiScale