imxieyi / waifu2x-ios

iOS Core ML implementation of waifu2x
MIT License
538 stars 58 forks source link

[Bug/annoyance] Drag and drop area is too small and obstructed by text #31

Closed morning-paradigm closed 2 years ago

morning-paradigm commented 3 years ago

The title says it all. You have to aim into a specific area, otherwise it won't work and you'll need to drag and drop again.

https://user-images.githubusercontent.com/39773982/127864858-196a17cb-705f-468b-9801-6de4695e4d8a.mp4

imxieyi commented 3 years ago

This is due to limitations of SwiftUI where you cannot passthrough UI events to views below if it's not a drop event. Making the drop area larger will result in interface covered by the drop area not responding to other input (scroll, click, etc.). Probably this can be worked around now with Introspect.

imxieyi commented 2 years ago

This issue is now resolved in the new "waifu2x" app for macOS. Feel free to update.