mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 01:32:19 +00:00
Make a reset inside Contacts the detection that leaving puts back
Contacts lends detection for the session and puts back the earlier state on leaving; a share link carries that earlier state. A reset in Visual is the user's choice, so it becomes both. Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
1 parent
63dc5756d5
commit
a1e7b2a394
4 files changed
+48
-1
No files matched your search
@@ -185,6 +185,12 @@ export class DisplayBindings {
|
||||
this._setModels3dEnabled(true);
|
||||
this._setModels3dMode('proximity');
|
||||
this._syncModels3dModeRow?.();
|
||||
// Inside Contacts the detection shown is lent for the session, and
|
||||
// leaving puts back the state from before. A reset there is the user's
|
||||
// choice, so the defaults become what leaving puts back and what a
|
||||
// share link carries.
|
||||
this.claimDetection();
|
||||
this._adoptDetectionAsRestore?.();
|
||||
this._syncShareState();
|
||||
},
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user