Skip to content

Commit

Permalink
Allow files in diff views to be dragged outside of the app (git-up#533)
Browse files Browse the repository at this point in the history
* Remove extra indirection in file lists

* Use native table view drag handling in diff views

* Use the common dragging implementation for copying in a diff files view

* Provide the plain-text relative path for diff view drag and drop

* Allow dragging files out of the working copy into external apps

* Allow dragging files out of diffs into external apps
  • Loading branch information
zwaldowski authored and lucasderraugh committed Jul 5, 2019
1 parent dac600c commit 1d14681
Show file tree
Hide file tree
Showing 2 changed files with 162 additions and 136 deletions.
2 changes: 1 addition & 1 deletion GitUp/Application/Document.m
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ - (void)windowControllerDidLoadNib:(NSWindowController*)windowController {
field.backgroundColor = _mainWindow.backgroundColor;
}
}

if (@available(macOS 10.11, *)) {
// Fields have different alignment rects from their bounds starting in 10.11
// and will appear slightly small when laid out just by autoresizing.
Expand Down
Loading

0 comments on commit 1d14681

Please sign in to comment.