diff --git a/src/messages/layouts/MessageLayout.cpp b/src/messages/layouts/MessageLayout.cpp index 06af7c790..79523ddcf 100644 --- a/src/messages/layouts/MessageLayout.cpp +++ b/src/messages/layouts/MessageLayout.cpp @@ -200,9 +200,13 @@ void MessageLayout::paint(QPainter &painter, int width, int y, int messageIndex, app->themes->messages.disabled); // painter.fillRect(0, y, pixmap->width(), pixmap->height(), // QBrush(QColor(64, 64, 64, 64))); - painter.fillRect(0, y, pixmap->width(), pixmap->height(), - QBrush(QColor(255, 0, 0, 63), Qt::BDiagPattern)); - // app->themes->messages.disabled); + + if (getSettings()->redDisabledMessages) + { + painter.fillRect(0, y, pixmap->width(), pixmap->height(), + QBrush(QColor(255, 0, 0, 63), Qt::BDiagPattern)); + // app->themes->messages.disabled); + } } // draw selection diff --git a/src/singletons/Settings.hpp b/src/singletons/Settings.hpp index ed429bb64..7318b8375 100644 --- a/src/singletons/Settings.hpp +++ b/src/singletons/Settings.hpp @@ -65,6 +65,7 @@ public: BoolSetting headerUptime = {"/appearance/splitheader/showUptime", false}; FloatSetting customThemeMultiplier = {"/appearance/customThemeMultiplier", -0.5f}; + BoolSetting redDisabledMessages = {"/appearance/redStripes", true}; // BoolSetting useCustomWindowFrame = {"/appearance/useCustomWindowFrame", // false}; diff --git a/src/widgets/settingspages/GeneralPage.cpp b/src/widgets/settingspages/GeneralPage.cpp index f02d750b8..d1451cb5b 100644 --- a/src/widgets/settingspages/GeneralPage.cpp +++ b/src/widgets/settingspages/GeneralPage.cpp @@ -264,6 +264,7 @@ void GeneralPage::initLayout(SettingsLayout &layout) layout.addTitle2("Misc"); layout.addCheckbox("Show twitch whispers inline", s.inlineWhispers); layout.addCheckbox("Grey out historic messages", s.greyOutHistoricMessages); + layout.addCheckbox("Emphasize deleted messages", s.redDisabledMessages); /* layout.addTitle2("Cache");