Skip to content
Snippets Groups Projects
Verified Commit 64c454a8 authored by dos's avatar dos
Browse files

Tweak sustain note threshold

parent 90ca2595
No related branches found
No related tags found
No related merge requests found
...@@ -243,7 +243,7 @@ class SongView(BaseView): ...@@ -243,7 +243,7 @@ class SongView(BaseView):
ctx.line_width = 6 ctx.line_width = 6
ctx.line_cap = ctx.NONE ctx.line_cap = ctx.NONE
if event.length > 120 or (event.missed and not self.demo_mode): if event.length >= min(max(80, self.mid_period / 3), 200) or (event.missed and not self.demo_mode):
d = 0.75 if not event.missed or event.played else 0.33 d = 0.75 if not event.missed or event.played else 0.33
if during: d = 1.0 if during: d = 1.0
ctx.rgb(*utils.dim(utils.PETAL_COLORS[i], d)) ctx.rgb(*utils.dim(utils.PETAL_COLORS[i], d))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment