From 11ff35ae962864f9fa36b07b2c6db1fa7a7aff05 Mon Sep 17 00:00:00 2001 From: lunarcleint <88809950+lunarcleint@users.noreply.github.com> Date: Sun, 7 Jan 2024 13:44:07 -0700 Subject: [PATCH] color look right when selecting colored top menu --- source/funkin/editors/ui/UIContextMenu.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/funkin/editors/ui/UIContextMenu.hx b/source/funkin/editors/ui/UIContextMenu.hx index 89132e98..d10b3fd9 100644 --- a/source/funkin/editors/ui/UIContextMenu.hx +++ b/source/funkin/editors/ui/UIContextMenu.hx @@ -182,7 +182,7 @@ class UIContextMenuOptionSpr extends UISliceSprite { public override function draw() { alpha = option.color == null ? (hovered ? 1 : 0) : 1; - if (option.color != null) color = hovered ? option.color.getDarkened(.4) : option.color; + if (option.color != null) color = hovered ? option.color.getLightened(.4) : option.color; label.follow(this, 20, 2); if (icon != null)