1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Change default plot line thickness from 1.0 to 1.5 (#3918)

This commit is contained in:
Emil Ernerfeldt
2024-01-29 19:23:27 +01:00
committed by GitHub
parent ab39420c29
commit 8562150e33

View File

@@ -370,7 +370,7 @@ impl Line {
pub fn new(series: impl Into<PlotPoints>) -> 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 bad on low-dpi-screens
name: Default::default(),
highlight: false,
fill: None,