From a6f09c16a3f58b6291f1d6af6baba6826c2c3bbb Mon Sep 17 00:00:00 2001 From: Declan Smith Date: Fri, 12 Dec 2014 17:21:05 +1000 Subject: [PATCH] Selectionbox can now be easily stretched to accommodate longer/shorter text. --- .../ComponentPrefabs/SelectionBox.prefab | Bin 43272 -> 43272 bytes .../Scripts/Components/SelectionBoxConfig.cs | 4 ---- 2 files changed, 4 deletions(-) diff --git a/Assets/MaterialUI/ComponentPrefabs/SelectionBox.prefab b/Assets/MaterialUI/ComponentPrefabs/SelectionBox.prefab index f3f24fcf5cbefb608e6290726fe355b153863713..698958c9b2a6c1337db5924ca29251c479d28b7b 100644 GIT binary patch delta 70 rcmeCU#ME(#X+!)nNd_RWXJBXmVh{}nhbC7ntH&k#!Ev*|@*j)<{%Q@N delta 32 lcmeCU#ME(#X+!+7$>$e|Gre${T(PVk%rtV|EU^3sBLDzn4%z?! diff --git a/Assets/MaterialUI/Scripts/Components/SelectionBoxConfig.cs b/Assets/MaterialUI/Scripts/Components/SelectionBoxConfig.cs index e170b366..b0aa9858 100644 --- a/Assets/MaterialUI/Scripts/Components/SelectionBoxConfig.cs +++ b/Assets/MaterialUI/Scripts/Components/SelectionBoxConfig.cs @@ -160,10 +160,6 @@ public void Setup () highlightColor.a = 1f; - Debug.Log (highlightColorHSB.h); - Debug.Log (highlightColorHSB.s); - Debug.Log (highlightColorHSB.b); - HSBColor normalColorHSB = HSBColor.FromColor (normalColor); if (normalColorHSB.b > 0.1f)