From 38c26f8c9571a8d1304aa82856b1adc7392f9667 Mon Sep 17 00:00:00 2001 From: Nathan Parslow Date: Tue, 30 May 2017 18:43:24 +1000 Subject: [PATCH] #486 Fix difficulty display on download page --- unity/Assets/Scripts/Content/QuestDownload.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/unity/Assets/Scripts/Content/QuestDownload.cs b/unity/Assets/Scripts/Content/QuestDownload.cs index b87b97e50..87d2aad2b 100644 --- a/unity/Assets/Scripts/Content/QuestDownload.cs +++ b/unity/Assets/Scripts/Content/QuestDownload.cs @@ -217,7 +217,9 @@ public void DrawList() ui = new UIElement(scrollArea.GetScrollTransform()); ui.SetLocation(UIScaler.GetRight(-11.95f) + (difficulty * 6.9f), offset + 1, (1 - difficulty) * 6.9f, 2); - ui.SetBGColor(new Color(1, 1, 1, 0.7f)); + Color filter = bg; + filter.a = 0.7f; + ui.SetBGColor(filter); } // Size is 1.2 to be clear of characters with tails