Просмотр исходного кода

configuration_shared: Switch back to background colors

Let's see if I make up my mind.
lat9nq 6 лет назад
Родитель
Сommit
b79a6ebf9c
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/yuzu/configuration/configuration_shared.cpp

+ 2 - 2
src/yuzu/configuration/configuration_shared.cpp

@@ -89,11 +89,11 @@ void ConfigurationShared::SetPerGameSetting(
 void ConfigurationShared::SetHighlight(QWidget* widget, const std::string& name, bool highlighted) {
     if (highlighted) {
         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)));
     } else {
         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)));
     }
     widget->show();