Fix editing 1.49 billion notes in the chart editor

This commit is contained in:
NeeEoo
2023-12-02 12:33:43 +01:00
parent 190c70829e
commit 64ee334698
@@ -22,7 +22,7 @@ class SortedArrayUtil {
var i:Int = 0;
var mid:Float;
while(iMin <= iMax) {
i = Math.floor((iMin + iMax) / 2);
i = Math.floor(iMin + (iMax - iMin) / 2);
mid = getVal(array[i]);
if (mid < val)
iMin = i+1