Skip to content

Commit

Permalink
feat(preview): preview the last picked item
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveVanOpstal committed Dec 13, 2016
1 parent 99abecb commit 8a76714
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/build/shop/shop.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export class ShopComponent implements OnInit {
}

pickItem(item: Item) {
this.selectedItem = item;
this.itemPicked.emit(item);
return false; // stop context menu from appearing
}
Expand Down

0 comments on commit 8a76714

Please sign in to comment.