Cut workspace panel factory out of windowing
This commit is contained in:
@@ -96,8 +96,14 @@ void EditorShellRuntime::ClearExternalDockHostDropPreview() {
|
||||
.dockHostState.dropPreview = {};
|
||||
}
|
||||
|
||||
EditorWorkspacePanelCursorKind EditorShellRuntime::GetHostedContentCursorKind() const {
|
||||
return m_workspacePanels.GetHostedContentCursorKind();
|
||||
EditorWorkspaceShellCursorKind EditorShellRuntime::GetHostedContentCursorKind() const {
|
||||
switch (m_workspacePanels.GetHostedContentCursorKind()) {
|
||||
case EditorWorkspacePanelCursorKind::ResizeEW:
|
||||
return EditorWorkspaceShellCursorKind::ResizeEW;
|
||||
case EditorWorkspacePanelCursorKind::Arrow:
|
||||
default:
|
||||
return EditorWorkspaceShellCursorKind::Arrow;
|
||||
}
|
||||
}
|
||||
|
||||
Widgets::UIEditorDockHostCursorKind EditorShellRuntime::GetDockCursorKind() const {
|
||||
|
||||
Reference in New Issue
Block a user