Been working on a different way to dismiss the image popup in the notes app.
Before the only option was to either click Escape key or click in the background behind the image which will also close the popup. Now the user can simply swipe up or down, or "zoom out" by making the pinch gesture.
I really want the image in the popup to animate back to its original position in the note document. I do have a semi-working solution, but it's still experimental. I'm having trouble with the opening animation being laggy, but the closing animation looks fine for some reason.
#dev #macOS #Swift #SwiftUI #AppKit
Login to reply