adjust native pixel api change in loader

This commit is contained in:
bunnie 2025-02-21 17:45:47 +08:00
parent 27e4b77792
commit e27f468acd

View file

@ -97,7 +97,7 @@ pub fn msg<'a>(fb: &mut dyn FrameBuffer, text: &'a str, ll_pos: Point, fg: Color
pub fn line(fb: &mut dyn FrameBuffer, l: Line, clip: Option<Rectangle>, xor: bool) {
let color: ColorNative;
if l.style.stroke_color.is_some() {
color = l.style.stroke_color.unwrap();
color = l.style.stroke_color.unwrap().into();
} else {
return;
}