Skip to content

Commit

Permalink
fix 48SX header
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenhael-le-moine committed Sep 9, 2024
1 parent 0a94bfc commit 91ed31e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/ui_sdl2.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,13 +531,11 @@ static void _draw_header( void )
} else {
x = display_offset_x;
y = TOP_SKIP - DISP_FRAME - hp48sx_height - 3;
__draw_bitmap( x, y, hp48sx_width, hp48sx_height, hp48sx_bitmap, RIGHT,
0 ); // Background transparent: draw only green menu
__draw_bitmap( x, y, hp48sx_width, hp48sx_height, hp48sx_bitmap, LOGO, DISP_PAD );

x = display_offset_x + DISPLAY_WIDTH - 1 - science_width;
y = TOP_SKIP - DISP_FRAME - science_height - 4;
__draw_bitmap( x, y, science_width, science_height, science_bitmap, RIGHT,
0 ); // Background transparent: draw only green menu
__draw_bitmap( x, y, science_width, science_height, science_bitmap, LOGO, DISP_PAD );
}
}

Expand Down

0 comments on commit 91ed31e

Please sign in to comment.