Skip to content

Commit

Permalink
clearer code
Browse files Browse the repository at this point in the history
  • Loading branch information
kunstmusik committed Jul 29, 2016
1 parent e924e7d commit 284e97d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -537,9 +537,9 @@ protected void paste(int x, int y) {
selectionPerformed(clearSelection);

for(BSBObject bsbObj : copyBuffer) {
bsbObj = (BSBObject) bsbObj.clone();
BSBObject clone = (BSBObject) bsbObj.clone();

BSBObjectViewHolder viewHolder = addBSBObject(bsbObj);
BSBObjectViewHolder viewHolder = addBSBObject(clone);

viewHolder.setLocation(viewHolder.getX() + offSetX,
viewHolder.getY() + offSetY);
Expand Down

0 comments on commit 284e97d

Please sign in to comment.