Add interaction between edit grid and inventory
This commit is contained in:
parent
469121e18a
commit
986c0479f1
9 changed files with 51 additions and 14 deletions
|
@ -56,7 +56,8 @@ export default class GuiInventory extends GuiElement {
|
|||
|
||||
let el = new GuiItemButton(tile, onclick, ex, ey, ew, eh, {
|
||||
padding: 0.1,
|
||||
selected: selected
|
||||
selected: selected,
|
||||
quantity: tile.quantity
|
||||
});
|
||||
|
||||
this.append(el);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue