Skip to content

Commit

Permalink
Merge pull request #2522 from ssievert42/fix_overlay_offset_v2
Browse files Browse the repository at this point in the history
fix overlays being cut off from the top
  • Loading branch information
gfwilliams committed Jun 24, 2024
2 parents 31c5d60 + 1b54368 commit 3fcb465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/graphics/lcd_memlcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ void lcdMemLCD_flip(JsGraphics *gfx) {
// initialise image layer
GfxDrawImageLayer l;
l.x1 = 0;
l.y1 = ovY;
l.y1 = ovY * 256;
l.img = overlayImg;
l.rotate = isRotated180 ? 3.141592 : 0;
l.scale = 1;
Expand Down

0 comments on commit 3fcb465

Please sign in to comment.