Can the SButton take right click events and not just left click
This can only detect left clicks and not right clicks.
Code:
SNew(SButton) .HAlign(HAlign_Fill) .VAlign(VAlign_Fill) .ButtonStyle(&InvStorage->EmptySlotButtonStyle) .OnClicked(this, &SItemWidget::RightClick) .ContentPadding(FMargin(0))
Comment