new_editor: reduce app shell capture plumbing
This commit is contained in:
@@ -384,18 +384,6 @@ ProjectPanel::CursorKind ProjectPanel::GetCursorKind() const {
|
||||
return (m_splitterHovered || m_splitterDragging) ? CursorKind::ResizeEW : CursorKind::Arrow;
|
||||
}
|
||||
|
||||
bool ProjectPanel::WantsHostPointerCapture() const {
|
||||
return m_requestPointerCapture ||
|
||||
m_assetDragState.requestPointerCapture ||
|
||||
m_treeDragState.requestPointerCapture;
|
||||
}
|
||||
|
||||
bool ProjectPanel::WantsHostPointerRelease() const {
|
||||
return m_requestPointerRelease ||
|
||||
m_assetDragState.requestPointerRelease ||
|
||||
m_treeDragState.requestPointerRelease;
|
||||
}
|
||||
|
||||
bool ProjectPanel::HasActivePointerCapture() const {
|
||||
return m_splitterDragging ||
|
||||
GridDrag::HasActivePointerCapture(m_assetDragState) ||
|
||||
|
||||
Reference in New Issue
Block a user