From 0a77d05bfa36fbd67a9f42ca96d636e9e16e1ee7 Mon Sep 17 00:00:00 2001 From: eunma Date: Sun, 27 Aug 2023 17:31:32 +0900 Subject: [PATCH] Bug fix --- Controls/TransparentLabel.cs | 6 +++--- Entities/LevelStats.cs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Controls/TransparentLabel.cs b/Controls/TransparentLabel.cs index 783f04e92..7c05fdeb4 100644 --- a/Controls/TransparentLabel.cs +++ b/Controls/TransparentLabel.cs @@ -130,9 +130,9 @@ private float GetFontSizeFactor() { (Stats.CurrentLanguage == 2 || Stats.CurrentLanguage == 3) ? (this.TextRight.Length > 15 ? (1f - (((this.TextRight.Length * 3.3f) - 65 + (this.Text.Length * 3.3f)) / 100f)) : 1f) : (Stats.CurrentLanguage == 4 || Stats.CurrentLanguage == 5) ? (this.TextRight.Length > 15 ? (1f - (((this.TextRight.Length * 3.3f) - 65 + (this.Text.Length * 3.3f)) / 100f)) : 1f) : 1f; case "lblFinals": - return (Stats.CurrentLanguage == 0 || Stats.CurrentLanguage == 1) ? (this.TextRight.Length > 14 ? (1f - (((this.TextRight.Length * 3.3f) - 65 + (this.Text.Length * 3.3f)) / 100f)) : 1f) : - (Stats.CurrentLanguage == 2 || Stats.CurrentLanguage == 3) ? (this.TextRight.Length > 14 ? (1f - (((this.TextRight.Length * 3.3f) - 61 + (this.Text.Length * 3.3f)) / 100f)) : 1f) : - (Stats.CurrentLanguage == 4 || Stats.CurrentLanguage == 5) ? (this.TextRight.Length > 14 ? (1f - (((this.TextRight.Length * 3.3f) - 61 + (this.Text.Length * 3.3f)) / 100f)) : 1f) : 1f; + return (Stats.CurrentLanguage == 0 || Stats.CurrentLanguage == 1) ? (this.TextRight.Length > 14 ? (1f - (((this.TextRight.Length * 3.3f) - 68 + (this.Text.Length * 3.3f)) / 100f)) : 1f) : + (Stats.CurrentLanguage == 2 || Stats.CurrentLanguage == 3) ? (this.TextRight.Length > 14 ? (1f - (((this.TextRight.Length * 3.3f) - 64 + (this.Text.Length * 3.3f)) / 100f)) : 1f) : + (Stats.CurrentLanguage == 4 || Stats.CurrentLanguage == 5) ? (this.TextRight.Length > 14 ? (1f - (((this.TextRight.Length * 3.3f) - 64 + (this.Text.Length * 3.3f)) / 100f)) : 1f) : 1f; case "lblStreak": return (Stats.CurrentLanguage == 0 || Stats.CurrentLanguage == 1) ? (this.TextRight.Length > 8 ? (1f - (((this.TextRight.Length * 3.3f) - 65 + (this.Text.Length * 3.3f)) / 100f)) : 1f) : (Stats.CurrentLanguage == 2 || Stats.CurrentLanguage == 3) ? (this.TextRight.Length > 12 ? (1f - (((this.TextRight.Length * 3.3f) - 53 + (this.Text.Length * 3.3f)) / 100f)) : 1f) : diff --git a/Entities/LevelStats.cs b/Entities/LevelStats.cs index 7934aa472..25669c256 100644 --- a/Entities/LevelStats.cs +++ b/Entities/LevelStats.cs @@ -346,8 +346,8 @@ public class LevelStats { { "current_wle_fp4_10_11", new LevelStats("current_wle_fp4_10_11", "HOARDER BLOCKS", LevelType.Race, true, false, 10, 360, 360, Properties.Resources.round_gauntlet_icon, Properties.Resources.round_gauntlet_big_icon) }, { "current_wle_fp4_10_12", new LevelStats("current_wle_fp4_10_12", "Chickens run away", LevelType.Race, true, false, 10, 360, 360, Properties.Resources.round_gauntlet_icon, Properties.Resources.round_gauntlet_big_icon) }, { "current_wle_fp4_10_20", new LevelStats("current_wle_fp4_10_20", "Co-op and CO", LevelType.Race, true, false, 10, 360, 360, Properties.Resources.round_gauntlet_icon, Properties.Resources.round_gauntlet_big_icon) }, - { "current_wle_fp4_10_0_01", new LevelStats("current_wle_fp4_10_0_01", "Cheese Canyon", LevelType.Race, true, false, 10, 360, 360, Properties.Resources.round_gauntlet_icon, Properties.Resources.round_gauntlet_big_icon) }, - { "current_wle_fp4_10_0_02", new LevelStats("current_wle_fp4_10_0_02", "Molehills", LevelType.Race, true, false, 10, 360, 360, Properties.Resources.round_gauntlet_icon, Properties.Resources.round_gauntlet_big_icon) }, + { "current_wle_fp4_10_0_01", new LevelStats("current_wle_fp4_10_0_01", "Cheese Canyon", LevelType.Race, true, false, 10, 0, 0, Properties.Resources.round_gauntlet_icon, Properties.Resources.round_gauntlet_big_icon) }, + { "current_wle_fp4_10_0_02", new LevelStats("current_wle_fp4_10_0_02", "Molehills", LevelType.Race, true, false, 10, 0, 0, Properties.Resources.round_gauntlet_icon, Properties.Resources.round_gauntlet_big_icon) }, { "wle_s10_bt_round_001", new LevelStats("wle_s10_bt_round_001", "Push Ups", LevelType.Race, true, false, 10, 0, 0, Properties.Resources.round_gauntlet_icon, Properties.Resources.round_gauntlet_big_icon) }, { "wle_s10_bt_round_002", new LevelStats("wle_s10_bt_round_002", "Heave & Haul", LevelType.Race, true, false, 10, 0, 0, Properties.Resources.round_gauntlet_icon, Properties.Resources.round_gauntlet_big_icon) },