feat(new_editor): wire project, inspector, and viewport runtime
This commit is contained in:
@@ -269,9 +269,7 @@ bool EditorWindow::Initialize(
|
||||
}
|
||||
|
||||
void EditorWindow::Shutdown() {
|
||||
if (GetCapture() == m_window.hwnd) {
|
||||
ReleaseCapture();
|
||||
}
|
||||
ForceReleasePointerCapture();
|
||||
|
||||
m_render.ready = false;
|
||||
m_render.autoScreenshot.Shutdown();
|
||||
@@ -286,9 +284,7 @@ void EditorWindow::Shutdown() {
|
||||
}
|
||||
|
||||
void EditorWindow::ResetInteractionState() {
|
||||
if (GetCapture() == m_window.hwnd) {
|
||||
ReleaseCapture();
|
||||
}
|
||||
ForceReleasePointerCapture();
|
||||
|
||||
m_input.pendingEvents.clear();
|
||||
m_input.trackingMouseLeave = false;
|
||||
|
||||
Reference in New Issue
Block a user