We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2a6504 commit 5ded9d4Copy full SHA for 5ded9d4
Assets/PatchKit Patcher/Scripts/UI/ProgressBar.cs
@@ -31,26 +31,25 @@ private void SetBar(float start, float end)
31
32
private void SetProgress(UpdateData data)
33
{
34
+ _isIdle = data.State == PatcherState.Connecting;
35
+
36
if (data.State == PatcherState.None)
37
38
Text.text = "";
- _isIdle = false;
39
SetBar(0, 0);
40
return;
41
}
42
43
if (data.State == PatcherState.DisplayingError)
44
45
Text.text = "Error!";
46
47
48
49
50
if (data.State == PatcherState.Connecting)
51
52
Text.text = "Connecting...";
53
- _isIdle = true;
54
55
56
0 commit comments