Skip to content

Commit ca2e2be

Browse files
committed
ensure fps is always on top notification
1 parent 75c2e93 commit ca2e2be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/react/CornerIndicatorStats.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default () => {
66
const { fullscreen } = useSnapshot(miscUiState)
77
const { topRightTimeDisplay } = useSnapshot(options)
88
const useBottom = (
9-
(process.env.NODE_ENV === 'development' && document.exitPointerLock) ||
9+
// (process.env.NODE_ENV === 'development' && document.exitPointerLock) ||
1010
(
1111
topRightTimeDisplay === 'always' ||
1212
(topRightTimeDisplay === 'only-fullscreen' && fullscreen)
@@ -18,7 +18,7 @@ export default () => {
1818
style={{
1919
position: 'fixed',
2020
right: 0,
21-
zIndex: 1,
21+
zIndex: 10,
2222
...(useBottom ? { bottom: 0 } : { top: 0 }),
2323
}}
2424
/>

0 commit comments

Comments
 (0)