remove event target
This commit is contained in:
@@ -14,7 +14,7 @@ namespace sandbox
|
||||
|
||||
if (ImGui::Button("RUN 2", ImVec2(28, 30)))
|
||||
{
|
||||
VE::event e { "target_id", test_event::TEST_EVEN , std::string("test event message") };
|
||||
VE::event e { test_event::TEST_EVEN , std::string("test event message") };
|
||||
VE_EMIT(e);
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace sandbox
|
||||
|
||||
if (ImGui::Button(VE::style::icon::ICON_STOP, ImVec2(28, 30)))
|
||||
{
|
||||
VE::event e { "target_id", test_event::TEST_EVEN , std::string("test icon button") };
|
||||
VE::event e { test_event::TEST_EVEN , std::string("test icon button") };
|
||||
VE_EMIT(e);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user