diff --git a/renderer/viewer/lib/ui/newStats.ts b/renderer/viewer/lib/ui/newStats.ts index 6fccac53..fff4d28c 100644 --- a/renderer/viewer/lib/ui/newStats.ts +++ b/renderer/viewer/lib/ui/newStats.ts @@ -15,7 +15,7 @@ export const addNewStat = (id: string, width = 80, x = rightOffset, y = lastY) = pane.style.padding = '2px' pane.style.fontFamily = 'monospace' pane.style.fontSize = '12px' - pane.style.zIndex = '10000' + pane.style.zIndex = '100' pane.style.pointerEvents = 'none' document.body.appendChild(pane) stats[id] = pane diff --git a/src/react/Notification.tsx b/src/react/Notification.tsx index 4d73da7e..ec2f8f2b 100644 --- a/src/react/Notification.tsx +++ b/src/react/Notification.tsx @@ -58,7 +58,9 @@ export default ({ type = 'message', message, subMessage = '', open, icon = '', a gap: 2, }} > -
+
{message}
& { @@ -34,6 +35,7 @@ export const showNotification = ( notificationProxy.autoHide = autoHide notificationProxy.action = action } +globalThis.showNotification = showNotification export const hideNotification = () => { // openNotification('') // reset notificationProxy.open = false @@ -56,13 +58,19 @@ export default () => { // openNotification('test', 'test', false, 'message') // }, 1000) // }, []) + const scale = useAppScale() - return + return
+ +
} diff --git a/src/reactUi.tsx b/src/reactUi.tsx index fc508a3a..5c294282 100644 --- a/src/reactUi.tsx +++ b/src/reactUi.tsx @@ -202,7 +202,6 @@ const App = () => { - @@ -213,6 +212,7 @@ const App = () => {
+