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 Mar 30, 2023
1 parent b63e388 commit c3c401f
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 c3c401f

Please sign in to comment.