Procházet zdrojové kódy

changed stabilization delay from 1.2 sec to 1 sec

Scrublord1336 před 6 roky
rodič
revize
49102bc971

+ 2 - 2
src/XUnity.AutoTranslator.Plugin.Core/AutoTranslationPlugin.cs

@@ -541,8 +541,8 @@ namespace XUnity.AutoTranslator.Plugin.Core
                      StartCoroutine(
                         WaitForTextStablization(
                            ui: ui,
-                           delay: 1.2f,
-                           maxTries: 50, // 50 tries, about 1 minute
+                           delay: 1.0f, // 1 second to prevent '1 second tickers' from getting translated
+                           maxTries: 60, // 50 tries, about 1 minute
                            currentTries: 0,
                            onMaxTriesExceeded: () =>
                            {