Fix font weight bug 🚧

This commit is contained in:
Laurenz 2020-01-08 14:28:14 +01:00
parent c9fd39f37e
commit bc22d1fbc1

View File

@ -139,7 +139,7 @@ function! {
layout(self, ctx) { layout(self, ctx) {
let mut style = ctx.style.text.clone(); let mut style = ctx.style.text.clone();
style.variant.style.toggle(); style.variant.weight = self.weight;
styled(&self.body, &ctx, style) styled(&self.body, &ctx, style)
} }
} }