feat(new_editor): wire project, inspector, and viewport runtime
This commit is contained in:
@@ -236,9 +236,7 @@ bool EditorWindowHostRuntime::HasWindows() const {
|
||||
|
||||
void EditorWindowHostRuntime::DestroyEditorWindow(EditorWindow& window) {
|
||||
const HWND hwnd = window.GetHwnd();
|
||||
if (GetCapture() == hwnd) {
|
||||
ReleaseCapture();
|
||||
}
|
||||
window.ForceReleasePointerCapture();
|
||||
|
||||
window.Shutdown();
|
||||
if (hwnd != nullptr && IsWindow(hwnd)) {
|
||||
|
||||
Reference in New Issue
Block a user