Add button click and checkbox toggle handlers for UI controls

This commit is contained in:
Stone_Red
2026-06-13 15:06:29 +02:00
parent 0bc9ca6cf2
commit decd79e6d3
5 changed files with 36 additions and 14 deletions
+2 -2
View File
@@ -107,9 +107,9 @@ public sealed class Window(string title, int processId, int id, IRenderSource re
uiElements.Add(uiElementId, uiElement);
}
lock (controlsLock)
if (uiElement is Control control)
{
if (uiElement is Control control)
lock (controlsLock)
{
controls.Add(uiElementId, control);
}