mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
adjust native pixel api change in loader
This commit is contained in:
parent
27e4b77792
commit
e27f468acd
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
pub fn line(fb: &mut dyn FrameBuffer, l: Line, clip: Option<Rectangle>, xor: bool) {
|
||||||
let color: ColorNative;
|
let color: ColorNative;
|
||||||
if l.style.stroke_color.is_some() {
|
if l.style.stroke_color.is_some() {
|
||||||
color = l.style.stroke_color.unwrap();
|
color = l.style.stroke_color.unwrap().into();
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue