Skip to content

Commit

Permalink
Fixed implementors of #transferFrom:event: that no longer added #shou…
Browse files Browse the repository at this point in the history
…ldCopy from the TransferMorph to the SpDragAndDropTransfer (added in commit 0c0d08a but removed in commit 4abd4fa).
  • Loading branch information
Rinzwind committed Nov 29, 2024
1 parent 8132c2e commit c4c440e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Spec2-Adapters-Morphic/SpMorphicTableAdapter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ SpMorphicTableAdapter >> transferFrom: aTransferMorph event: anEvent [
rowAndColumn := self widget container rowAndColumnIndexContainingPoint: anEvent position.
^ SpDragAndDropTransferToTable new
passenger: aTransferMorph passenger;
shouldCopy: aTransferMorph shouldCopy;
row: (rowAndColumn first ifNil: [ 0 ]);
column: (rowAndColumn second ifNil: [ 0 ]);
yourself
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ SpMorphicTreeTableAdapter >> transferFrom: aTransferMorph event: anEvent [
^ SpDragAndDropTransferToTree new
passenger: aTransferMorph passenger;
row: (rowAndColumn first ifNil: [ 0 ]);
shouldCopy: aTransferMorph shouldCopy;
column: (rowAndColumn second ifNil: [ 0 ]);
target: aTarget;
yourself
Expand Down

0 comments on commit c4c440e

Please sign in to comment.