fix(new_editor/docking): restore cross-window drop preview
This commit is contained in:
@@ -65,6 +65,17 @@ const std::string& EditorShellRuntime::GetBuiltInIconError() const {
|
||||
return m_builtInIcons.GetLastError();
|
||||
}
|
||||
|
||||
void EditorShellRuntime::SetExternalDockHostDropPreview(
|
||||
const Widgets::UIEditorDockHostDropPreviewState& preview) {
|
||||
m_shellInteractionState.workspaceInteractionState.dockHostInteractionState
|
||||
.dockHostState.dropPreview = preview;
|
||||
}
|
||||
|
||||
void EditorShellRuntime::ClearExternalDockHostDropPreview() {
|
||||
m_shellInteractionState.workspaceInteractionState.dockHostInteractionState
|
||||
.dockHostState.dropPreview = {};
|
||||
}
|
||||
|
||||
ProjectPanel::CursorKind EditorShellRuntime::GetHostedContentCursorKind() const {
|
||||
return m_projectPanel.GetCursorKind();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user