Changed EventDispacher from class to struct

This commit is contained in:
Simon Lübeß
2021-08-04 17:22:14 +02:00
parent 303578a83f
commit 3ac99491cf
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -312,7 +312,7 @@ namespace Sandbox
public override void OnEvent(Event event)
{
EventDispatcher dispatcher = scope EventDispatcher(event);
EventDispatcher dispatcher = EventDispatcher(event);
dispatcher.Dispatch<ImGuiRenderEvent>(scope (e) => OnImGuiRender(e));
}