fix(bar): read latest transparency_alpha value

This commit is a small fix which ensures that the latest value of
transparency_alpha will be read and applied from config rather than
self.config in the apply_config fn.
This commit is contained in:
LGUG2Z
2024-11-19 19:33:00 -08:00
parent d001d8a7a6
commit ac243c6992

View File

@@ -266,7 +266,7 @@ impl Komobar {
.replace(config.new_renderconfig(theme_color));
self.bg_color
.replace(theme_color.try_apply_alpha(self.config.transparency_alpha));
.replace(theme_color.try_apply_alpha(config.transparency_alpha));
if let Some(font_size) = &config.font_size {
tracing::info!("attempting to set custom font size: {font_size}");