Skip to content

Commit

Permalink
Merge pull request #20 from dubit/dev_clear_button_interactable
Browse files Browse the repository at this point in the history
Clear button interactable state no longer changes
  • Loading branch information
kkjamie authored Feb 22, 2019
2 parents 6cd7eb4 + 78611fc commit 2221652
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Scripts/Logger/DebugLogPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ private void Awake()
entryPrefab.gameObject.SetActive(false);
scrollRect.gameObject.SetActive(false);
stackTraceContainer.gameObject.SetActive(false);
clearButton.interactable = false;
clearButton.onClick.AddListener(Clear);

var errorLogData = new LogTypeData(toggleErrorButton, errorIcon);
Expand Down Expand Up @@ -144,7 +143,6 @@ private void Clear()

allLogs.Clear();

clearButton.interactable = false;
scrollRect.gameObject.SetActive(false);
}

Expand All @@ -155,8 +153,6 @@ private void AddLogEntry(string text, string stackTrace, LogType logType)
scrollRect.gameObject.SetActive(true);
}

clearButton.interactable = true;

var logTypeData = logTypeDatas[logType];
var newLogEntry = Instantiate(entryPrefab, container, false);
newLogEntry.transform.SetAsLastSibling();
Expand Down

0 comments on commit 2221652

Please sign in to comment.