@@ -27,9 +27,6 @@ public class ShipLogItemList : MonoBehaviour
2727 public GameObject markOnHUDPromptRoot ;
2828 public ScreenPromptList markHUDPromptList ;
2929
30- // TODO: Fix this, it isn't working??????!
31- public UiSizeSetterRectTransform descriptionFieldSizeSetter ;
32-
3330 public int selectedIndex ;
3431 public List < ShipLogEntryListItem > uiItems ;
3532 public List < Tuple < string , bool , bool , bool > > contentsItems = new ( ) ;
@@ -59,8 +56,6 @@ public static void CreatePrefab(ShipLogMapMode mapMode)
5956 itemList . markOnHUDPromptRoot = mapModeCopy . _markOnHUDPromptRoot ;
6057 itemList . markHUDPromptList = mapModeCopy . _markHUDPromptList ;
6158
62- itemList . descriptionFieldSizeSetter = itemList . descriptionField . GetComponent < UiSizeSetterRectTransform > ( ) ;
63-
6459 // Destroy UI size setters, set to regular before TODO: Changeable?
6560 // This is also IMPORTANT to fix the issue of the vertical expand (without desc field) not working
6661 foreach ( BaseUiSizeSetter sizeSetter in mapModeCopy . GetComponentsInChildren < BaseUiSizeSetter > ( ) )
@@ -190,7 +185,6 @@ public void Open()
190185 if ( _useDescField )
191186 {
192187 // TODO: Changeable?
193- descriptionFieldSizeSetter . DoResizeAction ( UITextSize . SMALL ) ;
194188 descriptionField . SetVisible ( true ) ;
195189 }
196190 }
@@ -202,8 +196,6 @@ public void Close()
202196 if ( _useDescField )
203197 {
204198 descriptionField . SetVisible ( false ) ;
205- // Since this is shared (for now?), restore the size for vanilla...
206- descriptionFieldSizeSetter . DoResizeAction ( PlayerData . GetTextSize ( ) ) ;
207199 }
208200 }
209201
0 commit comments