fix(clock): correct parentheses in fmt::format for calendar tooltip color

This commit is contained in:
Alex
2026-07-03 22:10:13 +02:00
parent 8aa8de90d6
commit e736a934ba
+1 -1
View File
@@ -214,7 +214,7 @@ auto waybar::modules::Clock::update() -> void {
context->remove_class(css_class);
const std::string replace_str = fmt::format("color='#{:02x}{:02x}{:02x}'",
static_cast<int>(color.get_red() * 255,
static_cast<int>(color.get_red() * 255),
static_cast<int>(color.get_green() * 255),
static_cast<int>(color.get_blue() * 255));