Chore: Proper Lambda Formatting (#2167)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -13,8 +13,16 @@ Theme::Theme()
|
||||
{
|
||||
this->update();
|
||||
|
||||
this->themeName.connectSimple([this](auto) { this->update(); }, false);
|
||||
this->themeHue.connectSimple([this](auto) { this->update(); }, false);
|
||||
this->themeName.connectSimple(
|
||||
[this](auto) {
|
||||
this->update();
|
||||
},
|
||||
false);
|
||||
this->themeHue.connectSimple(
|
||||
[this](auto) {
|
||||
this->update();
|
||||
},
|
||||
false);
|
||||
}
|
||||
|
||||
// hue: theme color (0 - 1)
|
||||
@@ -60,7 +68,7 @@ void Theme::actuallyUpdate(double hue, double multiplier)
|
||||
this->splits.input.styleSheet =
|
||||
"background:" + this->splits.input.background.name() + ";" +
|
||||
"border:" + this->tabs.selected.backgrounds.regular.color().name() +
|
||||
";" + "color:" + this->messages.textColors.regular.name() + ";" + //
|
||||
";" + "color:" + this->messages.textColors.regular.name() + ";" +
|
||||
"selection-background-color:" +
|
||||
(isLight ? "#68B1FF"
|
||||
: this->tabs.selected.backgrounds.regular.color().name());
|
||||
|
||||
Reference in New Issue
Block a user