Fix: fix notification icon blinking

This commit is contained in:
csrapr 2021-02-17 17:20:00 +00:00 committed by Josh Harvey
parent e723791916
commit f752bad447
3 changed files with 31 additions and 19 deletions

View file

@ -39,7 +39,7 @@ const styles = {
},
notificationIcon: ({ notifButtonCoords, xOffset }) => ({
position: 'absolute',
top: notifButtonCoords ? notifButtonCoords.y : 0,
top: notifButtonCoords ? notifButtonCoords.y - 1 : 0,
left: notifButtonCoords ? notifButtonCoords.x - xOffset : 0,
cursor: 'pointer',
background: 'transparent',