summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2023-03-30 21:41:53 +0000
committerQMK Bot <hello@qmk.fm>2023-03-30 21:41:53 +0000
commit8686c527f76ff794c51ff55377c029ac3c38f683 (patch)
tree068e013dbc5f099c60fd04551c89ec8a5b852943 /lib
parent5ce882d84e6e9fd6b138ef6701762ccd9c67e297 (diff)
parentc3c401f91dbc50106ad18b148ba198017daf0d28 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib')
-rw-r--r--lib/python/qmk/painter_qgf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/painter_qgf.py b/lib/python/qmk/painter_qgf.py
index 71ce1f5a02..2b8edfb04d 100644
--- a/lib/python/qmk/painter_qgf.py
+++ b/lib/python/qmk/painter_qgf.py
@@ -372,8 +372,8 @@ def _save(im, fp, filename):
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')