fix(new_editor/docking): restore cross-window drop preview

This commit is contained in:
2026-04-15 13:22:58 +08:00
parent 07516b8c2c
commit 7e21e3887e
7 changed files with 91 additions and 1 deletions

View File

@@ -77,6 +77,15 @@ const UIEditorShellInteractionState& EditorWindow::GetShellInteractionState() co
return m_composition.shellRuntime.GetShellInteractionState();
}
void EditorWindow::SetExternalDockHostDropPreview(
const Widgets::UIEditorDockHostDropPreviewState& preview) {
m_composition.shellRuntime.SetExternalDockHostDropPreview(preview);
}
void EditorWindow::ClearExternalDockHostDropPreview() {
m_composition.shellRuntime.ClearExternalDockHostDropPreview();
}
void EditorWindow::AttachHwnd(HWND hwnd) {
m_window.hwnd = hwnd;
}