fix pausable progress bar

This commit is contained in:
in0finite 2022-01-24 19:00:33 +01:00
parent f2e1d920bd
commit 4e98f2a905

View file

@ -511,6 +511,7 @@ namespace SanAndreasUnity.Editor
{ {
if (EditorUtility.DisplayCancelableProgressBar(title, text, progress)) if (EditorUtility.DisplayCancelableProgressBar(title, text, progress))
{ {
EditorUtility.ClearProgressBar();
// ok = continue // ok = continue
return !EditorUtility.DisplayDialog(title, dialogText, ok, cancel); return !EditorUtility.DisplayDialog(title, dialogText, ok, cancel);
} }