From 121ae28bb19dd5d1939b194171f256e34e842d93 Mon Sep 17 00:00:00 2001 From: FireMonkey <38590471+ItsFireMonkey@users.noreply.github.com> Date: Fri, 31 May 2019 19:49:23 -0400 Subject: [PATCH] Challenge Design Fix With the bitmap width of the Main Header being 271 you could see a small sliver of white on some challenges, by changing this to 281 the sliver won't show up anymore! I've also changed the texturefile for the Fortbyte awards from the puzzle piece icon into the image seen on the challenge tile as it makes it simply look clearer as to what the reward is! --- FModel/Methods/ChallengeGenerator/BundleDesign.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FModel/Methods/ChallengeGenerator/BundleDesign.cs b/FModel/Methods/ChallengeGenerator/BundleDesign.cs index 91c432b0..edeec856 100644 --- a/FModel/Methods/ChallengeGenerator/BundleDesign.cs +++ b/FModel/Methods/ChallengeGenerator/BundleDesign.cs @@ -26,7 +26,7 @@ namespace FModel if (Settings.Default.createIconForChallenges && myBundle.DisplayStyle != null) { //main header - toDrawOn.FillRectangle(new SolidBrush(BundleInfos.getSecondaryColor(myBundle)), new Rectangle(0, 0, myBitmap.Width, 271)); + toDrawOn.FillRectangle(new SolidBrush(BundleInfos.getSecondaryColor(myBundle)), new Rectangle(0, 0, myBitmap.Width, 281)); //gradient at left and right main header LinearGradientBrush linGrBrush_left = new LinearGradientBrush(new Point(0, 282 / 2), new Point(282, 282 / 2), @@ -146,7 +146,7 @@ namespace FModel private static void drawForbyteReward() { - string textureFile = "T_UI_PuzzleIcon_64"; + string textureFile = "T_UI_ChallengeTile_Fortbytes"; ItemIcon.ItemIconPath = JohnWick.AssetToTexture2D(textureFile); if (File.Exists(ItemIcon.ItemIconPath))