Fix font weight bug 🚧
This commit is contained in:
parent
c9fd39f37e
commit
bc22d1fbc1
@ -139,7 +139,7 @@ function! {
|
||||
|
||||
layout(self, ctx) {
|
||||
let mut style = ctx.style.text.clone();
|
||||
style.variant.style.toggle();
|
||||
style.variant.weight = self.weight;
|
||||
styled(&self.body, &ctx, style)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user