what if drag and drop was weighted?
- the bigger the file selection, the more difficult it is to pick up and drag. it's as if they had weight!
- the bigger the items in the folder, the heavier the folder is to drag
- because they're a representation of folders, windows are also weighted according to their contents
- finally, fun sound effects play when you finish dragging to reward your effort
unfortunately i am not yet enrolled in the apple developer program (plus i'm not sure they would like this app). so for the time being, you will have to clone this repo and compile it yourself from Xcode. sorry!
- dragging an item
- dragging a folder
- dragging an icon
- dragging multiple items (with a marquee-style selection, i.e.: click near the first item, press and hold the mouse or trackpad, then drag over all of the items)
- dragging the window (turn on "Add drag behavior to Finder windows" in settings)
- turning on "Sound effects" in settings
as you might expect there are many, but to name a few:
- it only works reliably on the icon view
- the internal model breaks when you do Cmd/Shift selection, because i never coded that in
- please don't copy my swiftUI code. i don't care if you copy, it's just not good.
- the event handler seems to randomly go away, making the drag and drop not work. i'm not sure why.
none of this would have been possible were it not for my friends at the recurse center
- Metal Impact - Ceramic Piece in Sink by RoganMcDougald
- also the vine boom sound effect lol