mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-13 16:42:50 +02:00
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:
@@ -266,7 +266,7 @@ impl Komobar {
|
|||||||
.replace(config.new_renderconfig(theme_color));
|
.replace(config.new_renderconfig(theme_color));
|
||||||
|
|
||||||
self.bg_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 {
|
if let Some(font_size) = &config.font_size {
|
||||||
tracing::info!("attempting to set custom font size: {font_size}");
|
tracing::info!("attempting to set custom font size: {font_size}");
|
||||||
|
|||||||
Reference in New Issue
Block a user