ExploreTrendingAnalytics
Nostr Archives
ExploreTrendingAnalytics
Frederik Handberg9d ago
I tried using `.onContinuousHover`, but didn't work when just clicking outside the color selector overlay without moving the cursor. You must move the cursor before `.onContinuousHover` fires its `active` case. So this caused the sidebar overlay to just close... Therefore I opted for an AppKit solution instead using `mouseLocationOutsideOfEventStream`. That worked! https://developer.apple.com/documentation/appkit/nswindow…
💬 0 replies

Thread context

Root: e030e3d70e38…

Replying to: 32b370118d44…

Replies (1)

Frederik Handberg9d ago
Time to fix the next bug! I have another problem with state values being shared between different window instances - it's not the first time I'm experiencing this kind of bug. Now I notice that the formatting sidebar is applying styling to other windows... I imagine it should be fairly easy to fix by just passing the `windowId` to the notification.
0000 sats