feat: add setting to pulse split input on self message received (#6380)
This commit is contained in:
@@ -285,6 +285,11 @@ public:
|
||||
false,
|
||||
};
|
||||
|
||||
BoolSetting pulseTextInputOnSelfMessage = {
|
||||
"/appearance/pulseTextInputOnSelfMessage",
|
||||
false,
|
||||
};
|
||||
|
||||
/// Behaviour
|
||||
BoolSetting allowDuplicateMessages = {"/behaviour/allowDuplicateMessages",
|
||||
true};
|
||||
|
||||
@@ -205,6 +205,7 @@ void parseSplits(const QJsonObject &splits, const QJsonObject &splitsFallback,
|
||||
const auto input = splits["input"_L1].toObject();
|
||||
const auto inputFallback = splitsFallback["input"_L1].toObject();
|
||||
parseColor(theme.splits, input, background);
|
||||
parseColor(theme.splits, input, backgroundPulse);
|
||||
parseColor(theme.splits, input, text);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -146,7 +146,9 @@ public:
|
||||
|
||||
struct {
|
||||
QColor background;
|
||||
QColor backgroundPulse;
|
||||
QColor text;
|
||||
// Used by the ChatterListWidget & QuickSwitcherPopup
|
||||
QString styleSheet;
|
||||
} input;
|
||||
} splits;
|
||||
|
||||
Reference in New Issue
Block a user