gg: make .set_cfg public
parent
23f231ee61
commit
a9e9079e48
|
@ -135,7 +135,7 @@ fn new_ft(c FTConfig) ?&FT {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn (ctx &Context) set_cfg(cfg gx.TextCfg) {
|
pub fn (ctx &Context) set_cfg(cfg gx.TextCfg) {
|
||||||
if !ctx.font_inited {
|
if !ctx.font_inited {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue