1
0
Fork 0

citra_qt/multiplayer: Change style for pinged messages a bit

To allow it to be seen more clearly in dark themes
This commit is contained in:
zhupengfei 2018-12-16 23:08:47 +08:00
parent 4574bd1e5c
commit 4df4b90795
No known key found for this signature in database
GPG Key ID: DD129E108BD09378
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,8 @@ public:
style = QString("background-color: %1").arg(ping_color); style = QString("background-color: %1").arg(ping_color);
} }
return QString("[%1] <font color='%2'>&lt;%3&gt;</font> <font style='%4'>%5</font>") return QString("[%1] <font color='%2'>&lt;%3&gt;</font> <font style='%4' "
"color='#000000'>%5</font>")
.arg(timestamp, color, name.toHtmlEscaped(), style, message.toHtmlEscaped()); .arg(timestamp, color, name.toHtmlEscaped(), style, message.toHtmlEscaped());
} }