mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 19:47:21 +01:00
add shared character data sets display to main ui
This commit is contained in:
parent
7720bdc6a9
commit
2cb2e7ca78
5 changed files with 52 additions and 12 deletions
|
|
@ -1130,9 +1130,9 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
|
|||
ImGuiHelpers.ScaledDummy(5);
|
||||
}
|
||||
|
||||
public static void DrawTree(string leafName, Action drawOnOpened)
|
||||
public static void DrawTree(string leafName, Action drawOnOpened, ImGuiTreeNodeFlags flags = ImGuiTreeNodeFlags.None)
|
||||
{
|
||||
using var tree = ImRaii.TreeNode(leafName);
|
||||
using var tree = ImRaii.TreeNode(leafName, flags);
|
||||
if (tree)
|
||||
{
|
||||
drawOnOpened();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue