feat(new_editor): wire project, inspector, and viewport runtime

This commit is contained in:
2026-04-19 00:03:25 +08:00
parent 8257403036
commit a57b322bc7
168 changed files with 14829 additions and 2507 deletions

View File

@@ -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;