Skip to content

Commit

Permalink
additional button label fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan1729 committed Jul 28, 2018
1 parent f19c463 commit a4476ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion state_manipulation/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -893,6 +893,7 @@ impl AsRef<SpecRect> for SpecRect {
//NOTE(Ryan1729): The AsRef impl below relies on ButtonSpec having
// the same ordering for x,y,w and h as SpecRect, and that they are
// at the top!
#[repr(C)]
pub struct ButtonSpec {
pub x: i32,
pub y: i32,
Expand Down Expand Up @@ -2202,7 +2203,7 @@ fn print_line_in_rect<T: AsRef<SpecRect>>(platform: &Platform,
rect.y + (rect.h / 2)

};

(platform.print_xy)(x_, y_, &text);
}

Expand Down

0 comments on commit a4476ad

Please sign in to comment.