Additional readability changes.

This commit is contained in:
EliteMasterEric
2026-02-13 20:33:20 -07:00
committed by Hundrec
parent 77faf38d61
commit eaad0f2450
+3 -1
View File
@@ -41,7 +41,9 @@ class GRhythmUtil
*/
public static function mirrorNoteDirection(noteData:Int):Int
{
return (noteData < Strumline.KEY_COUNT ? Strumline.KEY_COUNT : Strumline.KEY_COUNT * 2) - 1 - noteData % (Strumline.KEY_COUNT);
final MAX_KEY_VALUE:Int = (noteData < Strumline.KEY_COUNT ? Strumline.KEY_COUNT : Strumline.KEY_COUNT * 2);
return (MAX_KEY_VALUE - 1) - (noteData % Strumline.KEY_COUNT);
}
/**