Commit 44da1d6d8f5782e2d786dc91a3f62dbe6b2a6c22
1 parent
21ddadaa
Exists in
master
Fixed drawing bug, turns out that resize event handlers have to pass back control after running
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
telemetry/code/monitor/graph_plotter_rewrite.py
| @@ -19,6 +19,7 @@ class Plot: | @@ -19,6 +19,7 @@ class Plot: | ||
| 19 | 19 | ||
| 20 | def resize(self, width, height): | 20 | def resize(self, width, height): |
| 21 | self.size = (width, height) | 21 | self.size = (width, height) |
| 22 | + super(pyglet.window.Window, self.window).on_resize(width, height) | ||
| 22 | 23 | ||
| 23 | def draw(self): | 24 | def draw(self): |
| 24 | self.drawBackground() | 25 | self.drawBackground() |