Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.8 #17

Merged
merged 8 commits into from
Mar 22, 2023
Prev Previous commit
Next Next commit
Fix prepare panel when canceled process in-progress
  • Loading branch information
krzychu124 committed Nov 20, 2022
commit 5dffed72a9baeb440317f93cd0b32c8b66e83bc4
2 changes: 2 additions & 0 deletions BrokenNodeDetector/UI/MainPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ public class MainPanel : UIPanel {

private void OnResultsClose(bool updateHeight = false) {
_returnButton.Hide();
_preparePanel.CancelPrepare();
_preparePanel.Hide();
RunFadeInOutAnimations(_resultsPanel, _detectorsPanel);
if (BndResultHighlightManager.instance) {
BndResultHighlightManager.instance.enabled = false;
Expand Down
1 change: 1 addition & 0 deletions BrokenNodeDetector/UI/PreparePanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public class PreparePanel : UIPanel {
public void CancelPrepare() {
if (_preparing && _prepareCoroutine != null) {
StopCoroutine(_prepareCoroutine);
_preparing = false;
}
}

Expand Down