commit | b7e46f763b8c5de6194b0548fbcab4670136149e | [log] [tgz] |
---|---|---|
author | Ravago Jones <ravagojones@gmail.com> | Sat Jan 16 15:43:29 2021 -0800 |
committer | Ravago Jones <ravagojones@gmail.com> | Sat Jan 16 15:43:29 2021 -0800 |
tree | bb766189dfc826b97f249110625755d8d61ab136 | |
parent | cebfe66adea730102d1fe960063fc2cf5cd3ec7a [diff] [blame] |
Made resizing nicer Reset clipping; still don't know what was being inflexible about clipping area Change-Id: Ic40dbcce1f6fe8b53805acc4cf49fec723ecc648
diff --git a/frc971/control_loops/python/basic_window.py b/frc971/control_loops/python/basic_window.py index 827fe64..42ba84c 100755 --- a/frc971/control_loops/python/basic_window.py +++ b/frc971/control_loops/python/basic_window.py
@@ -73,6 +73,7 @@ scale = self.get_current_scale() cr.scale(scale, -scale) cr.translate(-self.center[0], -self.center[1]) + cr.reset_clip() self.needs_redraw = False self.handle_draw(cr) cr.restore()