Skip to content

Commit

Permalink
something i missed
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsitton committed Jun 3, 2011
1 parent 8c3315b commit 9799366
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/Neck.py
Expand Up @@ -653,11 +653,8 @@ def drawBPM(self, visibility, song, pos):
z = ((time - pos) / self.currentPeriod) / self.beatsPerUnit
sw = 0.1 #width

for i in range(0,4):
if i == 0 or i == 2:
self.bpm_vtx[i][2] = z + sw
else:
self.bpm_vtx[i][2] = z - sw
self.bpm_vtx[0][2] = self.bpm_vtx[2][2] = z + sw
self.bpm_vtx[1][2] = self.bpm_vtx[3][2] = z - sw

if event.barType == 0: #half-beat
self.bpm_halfbeat.texture.bind()
Expand Down

0 comments on commit 9799366

Please sign in to comment.