aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorQMK Bot2025-03-01 22:02:04 +0100
committerQMK Bot2025-03-01 22:02:04 +0100
commit5151abc298d44ba76ebfb1d30059dbc890056e30 (patch)
tree9ca074db2c03a058d2654a7c237865fcea015313 /docs
parentcbfbd173d330dd9340754b336db1e6eec30930c3 (diff)
parent0419cd2eed96157ff47d340c5f20ca7f46787848 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'docs')
-rw-r--r--docs/quantum_painter.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/quantum_painter.md b/docs/quantum_painter.md
index 782d496ff7..bbe8944516 100644
--- a/docs/quantum_painter.md
+++ b/docs/quantum_painter.md
@@ -884,7 +884,7 @@ static painter_image_handle_t my_image;
void keyboard_post_init_kb(void) {
my_image = qp_load_image_mem(gfx_my_image);
if (my_image != NULL) {
- qp_drawimage(display, (239 - my_image->width), (319 - my_image->height), my_image);
+ qp_drawimage(display, (240 - my_image->width), (320 - my_image->height), my_image);
}
}
```
@@ -909,7 +909,7 @@ static deferred_token my_anim;
void keyboard_post_init_kb(void) {
my_image = qp_load_image_mem(gfx_my_image);
if (my_image != NULL) {
- my_anim = qp_animate(display, (239 - my_image->width), (319 - my_image->height), my_image);
+ my_anim = qp_animate(display, (240 - my_image->width), (320 - my_image->height), my_image);
}
}
```
@@ -1001,7 +1001,7 @@ void keyboard_post_init_kb(void) {
if (my_font != NULL) {
static const char *text = "Hello from QMK!";
int16_t width = qp_textwidth(my_font, text);
- qp_drawtext(display, (239 - width), (319 - my_font->line_height), my_font, text);
+ qp_drawtext(display, (240 - width), (320 - my_font->line_height), my_font, text);
}
}
```