fix very small hold note rendering
This commit is contained in:
@@ -523,7 +523,7 @@ void NoteDisplay::DrawHoldBody( const TapNote& tn, int iCol, float fBeat, bool b
|
||||
iCol, fYStep, fPercentFadeToFail, fColorScale, bGlow,
|
||||
fDrawDistanceAfterTargetsPixels, fDrawDistanceBeforeTargetsPixels, fFadeInPercentOfDrawFar,
|
||||
fYHead-fFrameHeightTop, fYHead,
|
||||
fYStartPos, min(fYEndPos, fYTail),
|
||||
fYStartPos, min(fYEndPos, (fYHead+fYTail)/2),
|
||||
false,
|
||||
bFlipHeadAndTail );
|
||||
|
||||
@@ -543,7 +543,7 @@ void NoteDisplay::DrawHoldBody( const TapNote& tn, int iCol, float fBeat, bool b
|
||||
iCol, fYStep, fPercentFadeToFail, fColorScale, bGlow,
|
||||
fDrawDistanceAfterTargetsPixels, fDrawDistanceBeforeTargetsPixels, fFadeInPercentOfDrawFar,
|
||||
fYTail, fYTail+fFrameHeightBottom,
|
||||
max(fYStartPos, fYHead), fYEndPos,
|
||||
max(fYStartPos, (fYHead+fYTail)/2), fYEndPos,
|
||||
false,
|
||||
bFlipHeadAndTail );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user