From 058f60dcdba7a44d7cf00aac013b8273ec219c80 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 29 Jan 2024 19:21:55 +0100 Subject: [PATCH] Change default plot line thickness from 1.0 to 1.5 --- crates/egui_plot/src/items/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui_plot/src/items/mod.rs b/crates/egui_plot/src/items/mod.rs index 24bcb9d6ef97..12c4f13b84c9 100644 --- a/crates/egui_plot/src/items/mod.rs +++ b/crates/egui_plot/src/items/mod.rs @@ -370,7 +370,7 @@ impl Line { pub fn new(series: impl Into) -> Self { Self { series: series.into(), - stroke: Stroke::new(1.0, Color32::TRANSPARENT), + stroke: Stroke::new(1.5, Color32::TRANSPARENT), // Note: a stroke of 1.0 (or less) can look shitty on low-dpi-screens name: Default::default(), highlight: false, fill: None,