Notice event line: respect UI zoom
This commit is contained in:
parent
64d67234ab
commit
de729e42d9
|
@ -163,6 +163,7 @@ HRowLayout {
|
|||
|
||||
Rectangle {
|
||||
visible: model.event_type === "RoomMessageNotice"
|
||||
// y: parent.height / 2 - height / 2
|
||||
width: theme.chat.message.noticeLineWidth
|
||||
height: parent.height
|
||||
radius: parent.radius
|
||||
|
|
|
@ -348,7 +348,7 @@ chat:
|
|||
color date: colors.dimText
|
||||
|
||||
color noticeBody: colors.halfDimText
|
||||
int noticeLineWidth: 1
|
||||
int noticeLineWidth: 1 * uiScale
|
||||
|
||||
color quote: hsluv(
|
||||
135, colors.coloredTextSaturation, colors.coloredTextIntensity,
|
||||
|
|
|
@ -358,7 +358,7 @@ chat:
|
|||
color date: colors.dimText
|
||||
|
||||
color noticeBody: colors.halfDimText
|
||||
int noticeLineWidth: 1
|
||||
int noticeLineWidth: 1 * uiScale
|
||||
|
||||
color quote: hsluv(
|
||||
135, colors.coloredTextSaturation, colors.coloredTextIntensity,
|
||||
|
|
Loading…
Reference in New Issue
Block a user