diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-01-09 12:53:08 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-01-09 12:53:17 +0200 |
commit | 6369f85fe85e7121472490c37e84ca50a59cebf0 (patch) | |
tree | 4e2ccf211021800a4561f479a0a7626463cd5304 /py/tests | |
parent | 6ea6e0de706d98147c5382d6e2fb01751d327581 (diff) |
trans-test.py: fix drawing outside the buffer
Diffstat (limited to 'py/tests')
-rwxr-xr-x | py/tests/trans-test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/tests/trans-test.py b/py/tests/trans-test.py index a16f254..8b8e6c5 100755 --- a/py/tests/trans-test.py +++ b/py/tests/trans-test.py @@ -77,7 +77,7 @@ def test_am5_trans_src(): fb = fbs[1] pykms.draw_rect(fb, 0, 0, fb.width, fb.height, pykms.cyan) - pykms.draw_rect(fb, 100, 100, 500, 500, pykms.purple) + pykms.draw_rect(fb, 100, 100, fb.width - 200, fb.height - 200, pykms.purple) crtc.set_props({ "trans-key-mode": 2, |