summaryrefslogtreecommitdiffstats
path: root/examples/arc/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/arc/src')
-rw-r--r--examples/arc/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/arc/src/main.rs b/examples/arc/src/main.rs
index 6029a69c..bc7e49c6 100644
--- a/examples/arc/src/main.rs
+++ b/examples/arc/src/main.rs
@@ -2,7 +2,7 @@ use std::{f32::consts::PI, time::Instant};
use iced::executor;
use iced::widget::canvas::{
- self, Cache, Canvas, Cursor, Geometry, Path, Stroke, StrokeStyle,
+ self, Cache, Canvas, Cursor, Geometry, Path, Stroke, Style,
};
use iced::{
Application, Command, Element, Length, Point, Rectangle, Settings,
@@ -114,7 +114,7 @@ impl<Message> canvas::Program<Message> for Arc {
frame.stroke(
&path,
Stroke {
- style: StrokeStyle::Solid(palette.text),
+ style: Style::Solid(palette.text),
width: 10.0,
..Stroke::default()
},