mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-19 21:33:06 +00:00
Merge pull request #486 from FunkinCrew/bugfix/main-menu-color
Fix the saturation on the main menu background.
This commit is contained in:
commit
fab6412bc6
|
@ -58,7 +58,11 @@ class MainMenuState extends MusicBeatState
|
|||
persistentDraw = true;
|
||||
|
||||
var bg = FunkinSprite.create('menuDesat');
|
||||
|
||||
bg.color = 0xFFFDE871;
|
||||
// This line accounts for the fact that the base color of menuDesat is #EFEFEF.
|
||||
flixel.util.FlxColorTransformUtil.setOffsets(bg.colorTransform, 30, 27, 13, 0.0);
|
||||
|
||||
bg.scrollFactor.x = 0;
|
||||
bg.scrollFactor.y = 0.17;
|
||||
bg.setGraphicSize(Std.int(bg.width * 1.2));
|
||||
|
|
Loading…
Reference in a new issue