1
0
Fork 0
forked from wry/wry

config: store font names in Arc

This commit is contained in:
Julian Orth 2024-09-28 16:20:20 +02:00
parent ca134e683b
commit d9eb14e2bc
6 changed files with 21 additions and 14 deletions

View file

@ -673,7 +673,7 @@ impl ContainerNode {
let theme = &self.state.theme;
let th = theme.sizes.title_height.get();
let bw = theme.sizes.border_width.get();
let font = theme.font.borrow_mut();
let font = theme.font.get();
let cwidth = self.width.get();
let cheight = self.height.get();
let ctx = self.state.render_ctx.get();