2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

configuration_shared: Switch back to background colors

Let's see if I make up my mind.
This commit is contained in:
lat9nq 2020-07-13 21:36:31 -04:00
parent 44b3183ec8
commit b79a6ebf9c

View file

@ -89,11 +89,11 @@ void ConfigurationShared::SetPerGameSetting(
void ConfigurationShared::SetHighlight(QWidget* widget, const std::string& name, bool highlighted) { void ConfigurationShared::SetHighlight(QWidget* widget, const std::string& name, bool highlighted) {
if (highlighted) { if (highlighted) {
widget->setStyleSheet( widget->setStyleSheet(
QStringLiteral("QWidget#%1 { border:2px solid;border-color:rgba(0,203,255,0.5) }") QStringLiteral("QWidget#%1 { background-color:rgba(0,203,255,0.5) }")
.arg(QString::fromStdString(name))); .arg(QString::fromStdString(name)));
} else { } else {
widget->setStyleSheet( widget->setStyleSheet(
QStringLiteral("QWidget#%1 { border:2px solid;border-color:rgba(0,0,0,0) }") QStringLiteral("QWidget#%1 { background-color:rgba(0,0,0,0) }")
.arg(QString::fromStdString(name))); .arg(QString::fromStdString(name)));
} }
widget->show(); widget->show();