Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

this commit make Atom open files in the pane view that files was dropped into - #5910

Closed
liuxiong332 wants to merge 4 commits into
atom:masterfrom
liuxiong332:pane-drop
Closed

liuxiong332 wants to merge 4 commits into
atom:masterfrom
liuxiong332:pane-drop

Conversation

@liuxiong332

Copy link
Copy Markdown
Contributor
  • invalidate document's drop event to prevent the browser's default behavior that open the file URL.
  • this commit fix bug Open drag&dropped file in correct split view #4049. Every pane element will listen drop event to make drop action take in this pane view, therefore the drop files will open in the correct split view.

@liuxiong332

Copy link
Copy Markdown
Contributor Author

printscreen
atom-drop

@Zireael07

Copy link
Copy Markdown

Whee!

@mnquintana

Copy link
Copy Markdown
Contributor

@liuxiong332 Would you mind merging in / rebasing master and fixing the merge conflicts?

@liuxiong332

Copy link
Copy Markdown
Contributor Author

@mnquintana this commit has merged into origin through #5902. So this PR is not used.

@mnquintana

Copy link
Copy Markdown
Contributor

@liuxiong332 Oh awesome to hear! 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants