Skip to content

Commit c3c401f

Browse files
authored
[QP] Fix up delta frame boundaries (qmk#20296)
1 parent b63e388 commit c3c401f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/python/qmk/painter_qgf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,8 @@ def rgb888_to_qmk_hsv888(e):
372372
delta_descriptor = QGFFrameDeltaDescriptorV1()
373373
delta_descriptor.left = location[0]
374374
delta_descriptor.top = location[1]
375-
delta_descriptor.right = location[0] + size[0]
376-
delta_descriptor.bottom = location[1] + size[1]
375+
delta_descriptor.right = location[0] + size[0] - 1
376+
delta_descriptor.bottom = location[1] + size[1] - 1
377377

378378
# Write the delta frame to the output
379379
vprint(f'{f"Frame {idx:3d} delta":26s} {fp.tell():5d}d / {fp.tell():04X}h')

0 commit comments

Comments
 (0)