diff --git a/src/renderer/components/notification-comp.tsx b/src/renderer/components/notification-comp.tsx index 548a1e64..3e6fc744 100644 --- a/src/renderer/components/notification-comp.tsx +++ b/src/renderer/components/notification-comp.tsx @@ -70,7 +70,8 @@ export default class NotificationComp extends React.Component< INotificationState > { private readonly eventHandlers = { - onClose: (winKey) => (_event: mouseEventButton) => this.close(winKey), + onClose: (winKey) => (_event: mouseEventButton) => + this.close(_event, winKey), onClick: (data) => (_event: mouseEventButton) => this.click(data), onContextMenu: (event) => this.contextMenu(event), onMouseEnter: (winKey) => (_event: mouseEventButton) => @@ -167,9 +168,13 @@ export default class NotificationComp extends React.Component<
- close + close
.close-button { display: block; + z-index: 5; } .main-container {