Skip to content

Commit

Permalink
Fixes the progress/timer/whatever-you-want-to-call-it bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
erodozer committed Jul 12, 2010
1 parent 263f218 commit 604820b
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions data/themes/MegaLight V4/rockmeter.ini
Expand Up @@ -48,10 +48,10 @@ inPixels = xpos

[layer6:Image]
texture = dots.png
xpos = 620
ypos = .75
xscale = .15
yscale = .15
xpos = 620
ypos = .75
rect = (1.0 - (streak%10/10.0), 1, .2 + .2*(streak/10), .4 + .2*(streak/10))
alignment = right
condition = streak <= streakMax
Expand Down Expand Up @@ -141,20 +141,15 @@ inPixels = startX|startY

[layer15:Image]
texture = timerbar.png
xscale = progress
xscale = 640*progress
yscale = 16
xpos = 0
ypos = 8
rect = (0.0,1.0,.5,1.0)
alignment = left
shared = True
inPixels = yscale|xpos|ypos

[layer15:fx0:Slide]
startX = 0
startY = -20
TransitionTime = 60
inPixels = startX|startY
inPixels = yscale|xscale|xpos|ypos
condition = progress > 0 and progress <= 1.0

[layer16:Text]
text = "%d:%02d" % (minutes, seconds)
Expand Down

0 comments on commit 604820b

Please sign in to comment.