From 0e0aa82ab2ebc9f15519cea710a52c5895690152 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 11 Nov 2021 18:27:36 +0800 Subject: * rename Editor.GUI to Editor.Window --- Runtime/Events/InputEvent.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Runtime/Events/InputEvent.cpp') diff --git a/Runtime/Events/InputEvent.cpp b/Runtime/Events/InputEvent.cpp index c5994ef..07d8778 100644 --- a/Runtime/Events/InputEvent.cpp +++ b/Runtime/Events/InputEvent.cpp @@ -249,6 +249,10 @@ void InputEvent::CastToTable(LuaBind::State& state) const lua_pushnumber(state, type); lua_setfield(state, table, "type"); + // "used" + lua_pushboolean(state, use); + lua_setfield(state, table, "use"); + // "mousePosition" state.PushLuaObject(mousePosition); lua_setfield(state, table, "mousePosition"); -- cgit v1.1-26-g67d0