This commit is contained in:
RebornedBrain 2024-10-14 18:30:50 +03:00
parent 676eab29f2
commit 0241d8d1e8
2 changed files with 3 additions and 5 deletions

View file

@ -512,12 +512,10 @@ void canvas_draw_xbm(
size_t height,
const uint8_t* bitmap) {
furi_check(canvas);
x += canvas->offset_x;
y += canvas->offset_y;
canvas_draw_u8g2_bitmap(&canvas->fb, x, y, width, height, bitmap, IconRotation0);
canvas_draw_xbm_ex(canvas, x, y, width, height, IconRotation0, bitmap);
}
void canvas_draw_xbm_custom(
void canvas_draw_xbm_ex(
Canvas* canvas,
int32_t x,
int32_t y,

View file

@ -298,7 +298,7 @@ void canvas_draw_xbm(
* @param bitmap pointer to XBM bitmap data
*/
void canvas_draw_xbm_custom(
void canvas_draw_xbm_ex(
Canvas* canvas,
int32_t x,
int32_t y,