|
From: Tapio V. <aa...@us...> - 2010-08-21 18:59:26
|
Module: performous
Branch: master
Commit: 48dd20b57f9a0a22cafca59a050e1105e49e1940
Author: Tapio Vierros <tap...@gm...>
Date: Sat Aug 21 21:58:45 2010 +0300
Fix graphical artifact in dance hold note tail rendering.
---
game/dancegraph.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/game/dancegraph.cc b/game/dancegraph.cc
index eaf51da..1ed5e18 100644
--- a/game/dancegraph.cc
+++ b/game/dancegraph.cc
@@ -507,7 +507,7 @@ void DanceGraph::drawNote(DanceNote& note, double time) {
float yMid = std::max(yEnd-arrowSize, yBeg+arrowSize);
vertexPair(arrow_i, x, yMid, 2.0f/3.0f, s);
// Draw middle
- vertexPair(arrow_i, x, yBeg+arrowSize, 1.0f/3.0f, s);
+ vertexPair(arrow_i, x, yBeg + 2*arrowSize, 1.0f/3.0f, s);
}
// Draw begin
if (note.isHit && tEnd < 0.1) {
|