mirror of
https://github.com/Motschen/Blur.git
synced 2025-12-16 11:45:09 +01:00
Fix "negative" colors fading in wrong
This commit is contained in:
@@ -129,7 +129,7 @@ public class Blur {
|
|||||||
|
|
||||||
public static int getBackgroundColor(boolean second) {
|
public static int getBackgroundColor(boolean second) {
|
||||||
int color = second ? instance.colorSecond : instance.colorFirst;
|
int color = second ? instance.colorSecond : instance.colorFirst;
|
||||||
int a = color >> 24;
|
int a = color >>> 24;
|
||||||
int r = (color >> 16) & 0xFF;
|
int r = (color >> 16) & 0xFF;
|
||||||
int b = (color >> 8) & 0xFF;
|
int b = (color >> 8) & 0xFF;
|
||||||
int g = color & 0xFF;
|
int g = color & 0xFF;
|
||||||
|
|||||||
Reference in New Issue
Block a user