mirror of
https://github.com/kwsch/NHSE.git
synced 2026-09-29 13:26:51 -05:00
Hide item name on mouse leave
This commit is contained in:
@@ -25,7 +25,7 @@ public ItemGridEditor(ItemEditor editor, IReadOnlyList<Item> items, string[] ite
|
||||
ItemNames = itemnames;
|
||||
InitializeComponent();
|
||||
|
||||
HoverItem(Item.NO_ITEM);
|
||||
L_ItemName.Text = string.Empty;
|
||||
}
|
||||
|
||||
public void InitializeGrid(int width, int height)
|
||||
@@ -73,6 +73,7 @@ public void Slot_MouseLeave(object? sender, EventArgs e)
|
||||
if (!(sender is PictureBox pb))
|
||||
return;
|
||||
pb.Image = null;
|
||||
L_ItemName.Text = string.Empty;
|
||||
}
|
||||
|
||||
public void Slot_MouseClick(object sender, MouseEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user