set slot tooltip delay to 0 & refactor

This commit is contained in:
MihailRis
2024-11-24 17:56:14 +03:00
parent e8ee3e04b1
commit 4e25362f9b
2 changed files with 63 additions and 53 deletions
@@ -55,6 +55,9 @@ namespace gui {
std::wstring tooltip;
itemid_t prevItem = 0;
void performLeftClick(ItemStack& stack, ItemStack& grabbed);
void performRightClick(ItemStack& stack, ItemStack& grabbed);
public:
SlotView(SlotLayout layout);