File tree 2 files changed +10
-2
lines changed
src/frontend/ExtensionManager
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " hyperplay" ,
3
- "version" : " 0.23.1 " ,
3
+ "version" : " 0.23.2 " ,
4
4
"private" : true ,
5
5
"main" : " build/main/main.js" ,
6
6
"homepage" : " ./" ,
Original file line number Diff line number Diff line change @@ -42,8 +42,16 @@ const ExtensionManager = function () {
42
42
rootRef . current ?. close ( )
43
43
}
44
44
45
+ /**
46
+ * @dev We remove the popup/notification windows from the overlay when it is hidden because
47
+ * there were performance issues with them running in the background while playing some games like Kokodi.
48
+ */
45
49
if ( isOverlay ) {
46
- return < ExtensionContents />
50
+ if ( OverlayState . showOverlay ) {
51
+ return < ExtensionContents />
52
+ } else {
53
+ return null
54
+ }
47
55
}
48
56
49
57
/* eslint-disable react/no-unknown-property */
You can’t perform that action at this time.
0 commit comments