mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-13 18:24:16 +01:00
add total count on mouseover, make syncshell windows non-blocking
This commit is contained in:
parent
d7bfa2147f
commit
984ee08a2b
12 changed files with 73 additions and 62 deletions
|
|
@ -10,6 +10,7 @@ public class DrawGroupedGroupFolder : IDrawFolder
|
|||
private readonly IEnumerable<IDrawFolder> _groups;
|
||||
private readonly TagHandler _tagHandler;
|
||||
public int OnlinePairs => _groups.Sum(g => g.OnlinePairs);
|
||||
public int TotalPairs => _groups.Sum(g => g.TotalPairs);
|
||||
|
||||
public DrawGroupedGroupFolder(IEnumerable<IDrawFolder> groups, TagHandler tagHandler)
|
||||
{
|
||||
|
|
@ -39,7 +40,8 @@ public class DrawGroupedGroupFolder : IDrawFolder
|
|||
ImGui.SameLine();
|
||||
ImGui.TextUnformatted("[" + OnlinePairs.ToString() + "]");
|
||||
}
|
||||
UiSharedService.AttachToolTip(OnlinePairs + " online all of your syncshells");
|
||||
UiSharedService.AttachToolTip(OnlinePairs + " online in all of your joined syncshells" + Environment.NewLine +
|
||||
TotalPairs + " pairs combined in all of your joined syncshells");
|
||||
ImGui.SameLine();
|
||||
ImGui.TextUnformatted("All Syncshells");
|
||||
ImGui.Separator();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue