Skip to content

Commit

Permalink
[QP] Fix up delta frame boundaries (qmk#20296)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc authored and struckmb committed Apr 10, 2023
1 parent f03d6af commit 683a321
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/qmk/painter_qgf.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,8 @@ def rgb888_to_qmk_hsv888(e):
delta_descriptor = QGFFrameDeltaDescriptorV1()
delta_descriptor.left = location[0]
delta_descriptor.top = location[1]
delta_descriptor.right = location[0] + size[0]
delta_descriptor.bottom = location[1] + size[1]
delta_descriptor.right = location[0] + size[0] - 1
delta_descriptor.bottom = location[1] + size[1] - 1

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

0 comments on commit 683a321

Please sign in to comment.