diff options
| author | AAGaming <aa@mail.catvibers.me> | 2023-02-22 22:03:19 -0500 |
|---|---|---|
| committer | AAGaming <aa@mail.catvibers.me> | 2023-02-22 22:03:19 -0500 |
| commit | f9624a0859107e781312a4e10453647ea8029888 (patch) | |
| tree | ea698a994831cc4b8d4ad9e87346dc5b317af365 /frontend/src/utils | |
| parent | 97bb3fa4c879cf2a517e59b1f7177c9e49e0a692 (diff) | |
| download | decky-loader-f9624a0859107e781312a4e10453647ea8029888.tar.gz decky-loader-f9624a0859107e781312a4e10453647ea8029888.zip | |
how did this ever happenv2.6.1-pre1
Diffstat (limited to 'frontend/src/utils')
| -rw-r--r-- | frontend/src/utils/windows.ts | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/frontend/src/utils/windows.ts b/frontend/src/utils/windows.ts deleted file mode 100644 index a08f304a..00000000 --- a/frontend/src/utils/windows.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { getFocusNavController } from '../../../../lib/dist'; - -export function findSP(): Window { - // old (SP as host) - if (document.title == 'SP') return window; - // new (SP as popup) - return getFocusNavController().m_ActiveContext.m_rgGamepadNavigationTrees.find((x: any) => x.m_ID == 'root_1_').Root - .Element.ownerDocument.defaultView; -} |
