Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tawindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'tawindow.py')
-rw-r--r--tawindow.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tawindow.py b/tawindow.py
index 325eeb2..80240ba 100644
--- a/tawindow.py
+++ b/tawindow.py
@@ -657,6 +657,8 @@ def runbutton(tw, time):
for b in blocks(tw):
if find_start_stack(tw, b):
tw.step_time = time
+ if hasattr(tw,'activity'):
+ tw.activity.recenter()
run_stack(tw, b)
return
# no start block, so run a stack that isn't a hat