show focus target on visibility hover
This commit is contained in:
@@ -247,6 +247,10 @@ public class DrawUserPair
|
||||
else if (_pair.IsVisible)
|
||||
{
|
||||
_uiSharedService.IconText(FontAwesomeIcon.Eye, UIColors.Get("LightlessBlue"));
|
||||
if (ImGui.IsItemHovered(ImGuiHoveredFlags.AllowWhenBlockedByActiveItem | ImGuiHoveredFlags.AllowWhenOverlapped | ImGuiHoveredFlags.AllowWhenDisabled))
|
||||
{
|
||||
_mediator.Publish(new PairFocusCharacterMessage(_pair));
|
||||
}
|
||||
if (ImGui.IsItemClicked())
|
||||
{
|
||||
_mediator.Publish(new TargetPairMessage(_pair));
|
||||
|
||||
Reference in New Issue
Block a user