mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 11:44:36 +00:00
faster searchTreeItem
This commit is contained in:
@@ -1103,7 +1103,7 @@ public class Helper {
|
||||
private static int findRight(int[] imgData, int x, int y, int width) {
|
||||
int result = x;
|
||||
int idx = width * y + x;
|
||||
while ((imgData[idx] >>> 24) > 0 && result < width) {
|
||||
while (result < width && (imgData[idx] >>> 24) > 0) {
|
||||
result++;
|
||||
idx++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user