Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tawindow.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2009-03-29 15:52:58 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-03-29 15:52:58 (GMT)
commit7791cf357149e29b279090251ab0769fda9a3fe1 (patch)
treee42e826d36642237a1bd933b6dd305fd093fdd62 /tawindow.py
parenta80d14a4f1c96c3f91bb1ee666b3ce132637bb54 (diff)
rcenter on start block
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