mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
increase the scale value to resolve font rendering issue
This commit is contained in:
parent
e03a74c8b8
commit
6731aa62fa
2 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ impl Tag {
|
||||||
text_tag: TextTag::builder()
|
text_tag: TextTag::builder()
|
||||||
.family("monospace") // @TODO
|
.family("monospace") // @TODO
|
||||||
.left_margin(28)
|
.left_margin(28)
|
||||||
.scale(0.8)
|
.scale(0.81) // * the rounded `0.8` value crops text for some reason @TODO
|
||||||
.wrap_mode(WrapMode::None)
|
.wrap_mode(WrapMode::None)
|
||||||
.build(),
|
.build(),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ impl Tag {
|
||||||
text_tag: TextTag::builder()
|
text_tag: TextTag::builder()
|
||||||
.family("monospace") // @TODO
|
.family("monospace") // @TODO
|
||||||
.left_margin(28)
|
.left_margin(28)
|
||||||
.scale(0.8)
|
.scale(0.81) // * the rounded `0.8` value crops text for some reason @TODO
|
||||||
.wrap_mode(WrapMode::None)
|
.wrap_mode(WrapMode::None)
|
||||||
.build(),
|
.build(),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue