mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-04 09:06:23 +02:00
Add button click and checkbox toggle handlers for UI controls
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user