lmms icon indicating copy to clipboard operation
lmms copied to clipboard

Fix UI freeze when zooming in on long samples

Open khoidauminh opened this issue 1 year ago • 0 comments

In the first loop of the function, resolution (float) gets added to the loop index. On extremely large indices this operation fails, resulting in an infinite loop.

Solution is to declare an int version of resolution for loop incrementing.

Fixes #7249

khoidauminh avatar May 12 '24 06:05 khoidauminh