mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 09:42:21 +00:00
A failed fallback is not tried again, and focus stays in the credits list as it redraws
This commit is contained in:
1 parent
e440f3dddb
commit
df8728d0ad
4 files changed
+49
-5
No files matched your search
@@ -263,9 +263,15 @@ export class MapSourceController {
|
||||
this._onError?.(this._lastError, recovery);
|
||||
}
|
||||
}
|
||||
// A stack that stays after the failed switch (and a failed recovery)
|
||||
// still falls back on its tile failures, heard for this switch.
|
||||
if (!recovered && this._imageryLayer && this._activeResolution) {
|
||||
// A stack that stays after a failed choice (and a failed recovery)
|
||||
// still falls back on its tile failures, heard for this switch. A
|
||||
// failed fallback is not tried again on the next failures.
|
||||
if (
|
||||
!recovered &&
|
||||
!automatic &&
|
||||
this._imageryLayer &&
|
||||
this._activeResolution
|
||||
) {
|
||||
this._removeImageryErrorListener?.();
|
||||
this._removeImageryErrorListener = null;
|
||||
this._watchProvider(this._activeResolution, gen);
|
||||
|
||||
Reference in new issue
Block a user