1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 13:20:05 -04:00

egui_web: make text thicker and less pixelated (#640)

Closes https://github.com/emilk/egui/issues/516
This commit is contained in:
Emil Ernerfeldt
2021-08-21 21:18:00 +02:00
committed by GitHub
parent 12fd4906de
commit 91bdf9ba6e
5 changed files with 20 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ impl Default for Painting {
fn default() -> Self {
Self {
lines: Default::default(),
stroke: Stroke::new(1.0, Color32::LIGHT_BLUE),
stroke: Stroke::new(2.0, Color32::LIGHT_BLUE), // Thin strokes looks bad on web
}
}
}