Added all functions required for the syncshell folder system

This commit is contained in:
CakeAndBanana
2025-09-08 06:49:40 +02:00
parent 806a4baf1a
commit 75d23021ef
15 changed files with 290 additions and 93 deletions

View File

@@ -43,9 +43,9 @@ public class IdDisplayHandler
if (ImGui.IsItemClicked(ImGuiMouseButton.Left))
{
var prevState = textIsUid;
if (_showIdForEntry.ContainsKey(group.GID))
if (_showIdForEntry.TryGetValue(group.GID, out bool value))
{
prevState = _showIdForEntry[group.GID];
prevState = value;
}
_showIdForEntry[group.GID] = !prevState;
}