mirror of
https://github.com/Motschen/Blur.git
synced 2025-12-16 11:45:09 +01:00
Fix gradient colors being backwards
This commit is contained in:
@@ -58,8 +58,8 @@ public class BlurTransformer implements IClassTransformer {
|
|||||||
m.instructions.set(colorHook.getNext(), colorHook2);
|
m.instructions.set(colorHook.getNext(), colorHook2);
|
||||||
|
|
||||||
// Load boolean constants for method param
|
// Load boolean constants for method param
|
||||||
m.instructions.insertBefore(colorHook, new InsnNode(Opcodes.ICONST_0));
|
m.instructions.insertBefore(colorHook, new InsnNode(Opcodes.ICONST_1));
|
||||||
m.instructions.insertBefore(colorHook2, new InsnNode(Opcodes.ICONST_1));
|
m.instructions.insertBefore(colorHook2, new InsnNode(Opcodes.ICONST_0));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user