summaryrefslogtreecommitdiff
path: root/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp')
-rw-r--r--Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp b/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp
index 5906788..0269b72 100644
--- a/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp
+++ b/Editor/Scripting/EditorGUI/ContainerWindow.bind.cpp
@@ -1,4 +1,5 @@
#include "Editor/GUI/EditorWindows.h"
+#include "Runtime/Math/Math.h"
LUA_BIND_REGISTRY(ContainerWindow)
{
@@ -56,10 +57,10 @@ LUA_BIND_IMPL_METHOD(ContainerWindow, ContainerWindow::_New)
ContainerWindow* wnd = new ContainerWindow(state.GetVM());
- Internal::Rect rect = state.GetValue<Internal::Rect>(state, Internal::Rect());
+ Rect rect = state.GetValue<Rect>(state, Rect());
int showMode = state.GetValue<int>(2, 0);
- Internal::Vector2 min = state.GetValue<Internal::Vector2>(state, Internal::Vector2());
- Internal::Vector2 max = state.GetValue<Internal::Vector2>(state, Internal::Vector2());
+ Vector2 min = state.GetValue<Vector2>(state, Vector2());
+ Vector2 max = state.GetValue<Vector2>(state, Vector2());
wnd->Init(rect, showMode, min, max);