28 Commits

Author SHA1 Message Date
redphx
1dee720f77 Add "Maximum video bitrate" option 2024-05-12 18:05:21 +07:00
redphx
bd3f8c9f50 Reorder settings 2024-05-12 15:20:41 +07:00
redphx
1be9bd8ee1 Add option for Game Bar's position 2024-05-12 08:01:49 +07:00
redphx
362c5386d1 Add microphone action for Game Bar 2024-05-11 21:15:22 +07:00
redphx
85eac4be14 Move screenshot functions to a separate file 2024-05-11 12:18:36 +07:00
redphx
40b61b173f Use singleton in GameBar 2024-05-11 11:48:07 +07:00
redphx
6b88f73e34 Add setting to enable/disable Game Bar feature 2024-05-11 10:42:30 +07:00
redphx
daaaea1f16 Minor fixes 2024-05-11 09:16:01 +07:00
redphx
9ce906c0b2 Move User-Agent values to a separate localStorage item 2024-05-11 09:08:08 +07:00
redphx
b2e932cc4c
Game bar (#392)
* Fix games with custom touch control sometimes not showing touch icon

* Create game-bar with screenshot button

* Disable Game bar when opening the Guide

* Remove SCREENSHOT_BUTTON_POSITION pref

* Make the touch control action functional

* Show game bar when the game starts

* Fix 720p/High not working (#387)

* Update icons

* Update game bar's animations

* Reset states of Game bar actions before playing

* Don't show Touch control action on non-touch-supported devices

* Clean up

* Update translations

* Update actions' texts

* Clean up
2024-05-10 18:35:40 +07:00
redphx
26bf14eda6 Show custom touch layout's author name in toast message 2024-05-08 17:04:14 +07:00
redphx
2df3bb4611 Add "Default opacity" setting for touch controller 2024-05-07 17:37:49 +07:00
redphx
f6ee79770c Clear PatcherCache when changing settings 2024-05-04 11:22:42 +07:00
redphx
3670946da4 Refactor BxIcon 2024-05-03 17:27:13 +07:00
redphx
06c6b8c5af Simplify import paths again 2024-05-01 22:14:28 +07:00
redphx
0114108bdf Simplify import paths 2024-05-01 22:01:39 +07:00
redphx
17afd364da Refactor icons 2024-05-01 18:57:50 +07:00
redphx
18f50e6a20 Move preferences.ts & settings.ts to utils/ 2024-04-27 15:23:49 +07:00
redphx
1753a2d525 Move modules/translations.ts to utils/translations.ts 2024-04-27 10:12:34 +07:00
redphx
fc64f0dfa7 Refactor Translations 2024-04-27 10:10:33 +07:00
redphx
3eb70498a3 Fix not refreshing the page after switching language 2024-04-25 17:57:53 +07:00
redphx
293e3c8d73 Move bx-events/exposed/flags files to utils/ 2024-04-25 17:57:34 +07:00
redphx
53676ad733 Fix errors with setTimeout/setInterval 2024-04-25 17:46:02 +07:00
redphx
563a398975 Bug fixes 2024-04-24 18:03:44 +07:00
redphx
06ffcf20f7 Rename States to STATES 2024-04-24 17:09:39 +07:00
redphx
fd0f0799ee Minor fixes 2024-04-24 17:02:06 +07:00
redphx
9d0f4c380b Fix global vars 2024-04-24 16:50:59 +07:00
redphx
be0cbff344 Port the rest of the code 2024-04-23 17:55:52 +07:00