Commit 92c1739f authored by Tiago Peixoto's avatar Tiago Peixoto

Update animation demos

parent aab34c1b
......@@ -83,7 +83,7 @@ def update_state():
# The following will force the re-drawing of the graph, and issue a
# re-drawing of the GTK window.
win.graph.regenerate_surface(lazy=False)
win.graph.regenerate_surface()
win.graph.queue_draw()
# if doing an offscreen animation, dump frame to disk
......
......@@ -119,7 +119,7 @@ def update_state():
# The following will force the re-drawing of the graph, and issue a
# re-drawing of the GTK window.
win.graph.regenerate_surface(lazy=False)
win.graph.regenerate_surface()
win.graph.queue_draw()
# if doing an offscreen animation, dump frame to disk
......
......@@ -135,7 +135,7 @@ def update_state():
# The following will force the re-drawing of the graph, and issue a
# re-drawing of the GTK window.
win.graph.regenerate_surface(lazy=False)
win.graph.regenerate_surface()
win.graph.queue_draw()
# if doing an offscreen animation, dump frame to disk
......
......@@ -59,7 +59,7 @@ def update_bfs(widget, event):
if e is not None:
ecolor[e] = orange
vcolor[v] = vcolor[w] = orange
widget.regenerate_surface(lazy=False)
widget.regenerate_surface()
widget.queue_draw()
if offscreen:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment