mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-13 07:48:30 +00:00
fix text rotation
This commit is contained in:
parent
420800f329
commit
002bc74d3f
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ pub fn msg<'a>(fb: &mut dyn FrameBuffer, text: &'a str, ll_pos: Point, fg: Color
|
|||
let color = if FONT_IMAGE[bitmap_byte as usize] & (1 << bitmap_bit) != 0 { fg } else { bg };
|
||||
|
||||
let x = ll_pos.x + CHAR_WIDTH * idx + char_walk_x;
|
||||
let y = ll_pos.y + (CHAR_HEIGHT - char_walk_y);
|
||||
let y = ll_pos.y + char_walk_y;
|
||||
|
||||
// draw color at x, y
|
||||
if (current_char as u8 != 0xd) && (current_char as u8 != 0xa) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue