mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
inventory slots fix
This commit is contained in:
parent
7434cb66e8
commit
a57fba4fa4
2 changed files with 5 additions and 0 deletions
|
|
@ -296,6 +296,10 @@ void SlotView::clicked(gui::GUI* gui, int button) {
|
|||
}
|
||||
}
|
||||
|
||||
void SlotView::focus(gui::GUI* gui) {
|
||||
clicked(gui, 0);
|
||||
}
|
||||
|
||||
InventoryView::InventoryView(
|
||||
const Content* content,
|
||||
LevelFrontend* frontend,
|
||||
|
|
|
|||
|
|
@ -108,6 +108,7 @@ public:
|
|||
bool isHighlighted() const;
|
||||
|
||||
virtual void clicked(gui::GUI*, int) override;
|
||||
virtual void focus(gui::GUI*) override;
|
||||
};
|
||||
|
||||
class InventoryView : public gui::Container {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue