mirror of
https://github.com/Motschen/Blur.git
synced 2025-12-16 11:45:09 +01:00
Fix gradient not fading in
This commit is contained in:
@@ -15,13 +15,13 @@ public class MixinGui {
|
|||||||
method = "drawBackground(I)V",
|
method = "drawBackground(I)V",
|
||||||
constant = @Constant(intValue = -1072689136))
|
constant = @Constant(intValue = -1072689136))
|
||||||
public int getFirstBackgroundColor(int color) {
|
public int getFirstBackgroundColor(int color) {
|
||||||
return Blur.instance.colorFirst;
|
return Blur.instance.getBackgroundColor(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ModifyConstant(
|
@ModifyConstant(
|
||||||
method = "drawBackground(I)V",
|
method = "drawBackground(I)V",
|
||||||
constant = @Constant(intValue = -804253680))
|
constant = @Constant(intValue = -804253680))
|
||||||
public int getSecondBackgroundColor(int color) {
|
public int getSecondBackgroundColor(int color) {
|
||||||
return Blur.instance.colorSecond;
|
return Blur.instance.getBackgroundColor(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user