diff options
Diffstat (limited to 'Edit/NoteInterface.py')
-rw-r--r-- | Edit/NoteInterface.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Edit/NoteInterface.py b/Edit/NoteInterface.py index a51fe2c..a5035dd 100644 --- a/Edit/NoteInterface.py +++ b/Edit/NoteInterface.py @@ -54,7 +54,7 @@ class NoteInterface: r = self.baseColors[0][0] + int(self.baseColors[1][0]*self.note.cs.amplitude) g = self.baseColors[0][1] + int(self.baseColors[1][1]*self.note.cs.amplitude) b = self.baseColors[0][2] + int(self.baseColors[1][2]*self.note.cs.amplitude) - self.color = self.colormap.alloc_color( r, g, b, True, True ) + self.color = self.colormap.alloc_color( r, g, b, True, True ) # TODO potential memory leak? self.oldAmplitude = self.note.cs.amplitude self.updateTransform() |