Added UI Element and other QoL fixes for scripting #329
|
@ -365,7 +365,7 @@ namespace SHADE
|
|||
SHEventHandle SHScriptEngine::onUIElementClicked(SHEventPtr eventPtr)
|
||||
{
|
||||
auto eventData = reinterpret_cast<const SHEventSpec<SHButtonClickEvent>*>(eventPtr.get());
|
||||
csUIElementOnRemoved(eventData->data->EID);
|
||||
csUIElementOnClicked(eventData->data->EID);
|
||||
return eventData->handle;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue