mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 16:47:22 +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
|
|
@ -13,11 +13,13 @@ public abstract class DrawFolderBase : IDrawFolder
|
|||
protected readonly TagHandler _tagHandler;
|
||||
private float _menuWidth = -1;
|
||||
public int OnlinePairs => _drawPairs.Count(u => u.Pair.IsOnline);
|
||||
protected DrawFolderBase(string id, IEnumerable<DrawUserPair> drawPairs, TagHandler tagHandler)
|
||||
public int TotalPairs { get; }
|
||||
protected DrawFolderBase(string id, IEnumerable<DrawUserPair> drawPairs, TagHandler tagHandler, int totalPairs)
|
||||
{
|
||||
_id = id;
|
||||
_drawPairs = drawPairs;
|
||||
_tagHandler = tagHandler;
|
||||
TotalPairs = totalPairs;
|
||||
}
|
||||
|
||||
protected abstract bool RenderIfEmpty { get; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue